Add a blue dot to the collection type delete buttons in forms to indicate that this element was not yet saved to DB yet

This commit is contained in:
Jan Böhmer 2023-11-20 21:47:34 +01:00
parent 87626589a3
commit c5435df6f9
4 changed files with 36 additions and 7 deletions

View file

@ -50,8 +50,9 @@
{{ form_errors(form.name) }}
</td>
<td>
<button type="button" class="btn btn-danger lot_btn_delete" {{ collection.delete_btn() }}>
<button type="button" class="btn btn-danger lot_btn_delete position-relative" {{ collection.delete_btn() }}>
<i class="fas fa-trash-alt fa-fw"></i>
{{ collection.new_element_indicator(value) }}
</button>
{{ form_errors(form) }}
</td>