Improve forms

This commit is contained in:
William Bouzourène 2025-01-15 16:35:33 +01:00
parent 8375504d60
commit 7d550ac23c
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
11 changed files with 83 additions and 14 deletions

View file

@ -30,7 +30,7 @@
</div>
{% endif %}
<form id="list" method="post">
<form id="listitem" method="post">
<div class="row mb-3">
<label for="value" class="form-label col-md-2">
@ -44,6 +44,8 @@
name="value"
required
value="{{ ListItem.Value }}"
autocomplete="off"
autofocus
>
</div>
</div>
@ -55,6 +57,7 @@
class="form-check-input me-2"
id="default"
name="default"
autocomplete="off"
{% if ListItem.Default %}
checked
{% endif %}