Don't show delete button in create list form

This commit is contained in:
Mouse Reeve 2021-09-20 14:25:11 -07:00
parent 0a32fefd93
commit a304333acf

View file

@ -45,8 +45,10 @@
</div> </div>
</div> </div>
</div> </div>
{% if list.id %}
<div class="column is-narrow"> <div class="column is-narrow">
{% trans "Delete list" as button_text %} {% 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" %} {% 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> </div>
{% endif %}
</div> </div>