mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
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