mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20: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">
|
<hr class="block">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
<input type="hidden" name="last_edited_by" value="{{ request.user.id }}">
|
<input type="hidden" name="last_edited_by" value="{{ request.user.id }}">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
@ -181,11 +180,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if not confirm_mode %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
<button class="button is-primary" type="submit">{% trans "Save" %}</button>
|
||||||
<a class="button" href="/book/{{ book.id }}">{% trans "Cancel" %}</a>
|
<a class="button" href="/book/{{ book.id }}">{% trans "Cancel" %}</a>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue