This commit is contained in:
2023-07-28 16:31:31 +03:00
parent 33fc6b2063
commit eaca92106d
3 changed files with 25 additions and 9 deletions

View File

@@ -27,7 +27,7 @@
<hr>
<div class="departure_arrival">
<div class="input_wrapper">
<div>
<label for="id_departure_DT">{{ form.fields.departure_DT.label }}</label>
<input
@@ -174,11 +174,15 @@
type="checkbox"
name="cargo_type"
id="id_cargo_type"
{% if form.fields.cargo_type.required %} required{% endif %}
{% if form.fields.cargo_type.required %} required{% endif %}
value="{{ item.0 }}"
{% if form.fields.cargo_type == item.0 %}
{% endif %}/>{{ item.1 }}
{% endfor %}
{# <lable for="">#}
{##}
{# </lable>#}
{% if form.errors and form.errors.cargo_type %}
<span>{{ form.errors.cargo_type }}</span>
{% endif %}