Switches position of list delete and save buttons

This commit is contained in:
Mouse Reeve 2021-12-30 12:38:36 -08:00
parent 821e579a39
commit ec0b1e8cc3

View file

@ -114,8 +114,13 @@
</fieldset>
</div>
</div>
<div class="columns is-mobile">
<div class="column">
<div class="is-flex">
{% if list.id %}
<div class="is-flex-grow-1">
{% trans "Delete list" as button_text %}
{% include 'snippets/toggle/toggle_button.html' with class="is-danger" text=button_text icon_with_text="x" controls_text="delete_list" controls_uid=list.id focus="modal_title_delete_list" %}
</div>
{% endif %}
<div class="field has-addons">
<div class="control">
{% include 'snippets/privacy_select.html' with current=list.privacy %}
@ -124,11 +129,4 @@
<button type="submit" class="button is-primary">{% trans "Save" %}</button>
</div>
</div>
</div>
{% if list.id %}
<div class="column is-narrow">
{% trans "Delete list" as button_text %}
{% include 'snippets/toggle/toggle_button.html' with class="is-danger" text=button_text icon_with_text="x" controls_text="delete_list" controls_uid=list.id focus="modal_title_delete_list" %}
</div>
{% endif %}
</div>