forked from mirrors/bookwyrm
Hide secondary save button in confirm mode
This commit is contained in:
parent
500394fc52
commit
a29d6a5f16
1 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,6 @@
|
|||
<hr class="block">
|
||||
{% endif %}
|
||||
|
||||
<fieldset>
|
||||
<input type="hidden" name="last_edited_by" value="{{ request.user.id }}">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
|
@ -181,11 +180,12 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if not confirm_mode %}
|
||||
<div class="block">
|
||||
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||
<a class="button" href="/book/{{ book.id }}">{% trans "Cancel" %}</a>
|
||||
</div>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue