Rework forms

This commit is contained in:
William Bouzourène 2025-01-12 17:14:39 +01:00
parent aa6d89aac8
commit efafb845f3
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
14 changed files with 1539 additions and 679 deletions

View file

@ -32,31 +32,35 @@
<form id="list" method="post">
<div class="mb-3">
<label for="name" class="form-label">
<div class="row mb-3">
<label for="name" class="form-label col-md-2">
Nom
</label>
<input
id="name"
class="form-control"
type="text"
name="name"
required
value="{{ List.Name }}"
>
<div class="col-md-10">
<input
id="name"
class="form-control"
type="text"
name="name"
required
value="{{ List.Name }}"
>
</div>
</div>
<div class="mb-3">
<input
type="checkbox"
class="form-check-input me-2"
id="multi"
name="multi"
{% if List.Multi %}checked{% endif %}
>
<label for="multi" class="form-label">
Liste à choix multiples
</label>
<div class="row mb-3">
<div class="col-md-10 offset-md-2">
<input
type="checkbox"
class="form-check-input me-2"
id="multi"
name="multi"
{% if List.Multi %}checked{% endif %}
>
<label for="multi" class="form-label">
Liste à choix multiples
</label>
</div>
</div>
<div class="mt-3">