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 %}

View File

@@ -9,4 +9,7 @@
<script src='{% static "js/sendRoute.js" %}'></script>
<script src='{% static "js/ion.rangeSlider.min.js" %}'></script>
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">