Improve forms

This commit is contained in:
William Bouzourène 2025-01-15 16:35:33 +01:00
parent 8226329b61
commit 6f3b7c6dc3
11 changed files with 83 additions and 14 deletions

View file

@ -44,6 +44,8 @@
name="name"
required
value="{{ Section.Name }}"
autocomplete="off"
autofocus
>
</div>
</div>
@ -60,6 +62,7 @@
name="short_name"
required
value="{{ Section.ShortName }}"
autocomplete="off"
>
</div>
</div>
@ -71,8 +74,9 @@
<div class="col-md-10">
<select
id="parent_section"
class="form-control"
class="form-select"
name="parent_section"
autocomplete="off"
{% if IsParent %}
disabled
{% endif %}
@ -101,6 +105,7 @@
class="form-check-input me-2"
id="contains_members"
name="contains_members"
autocomplete="off"
{% if Section.ContainsMembers %}
checked
{% endif %}
@ -118,6 +123,7 @@
class="form-check-input me-2"
id="contains_contacts"
name="contains_contacts"
autocomplete="off"
{% if Section.ContainsContacts %}
checked
{% endif %}