0.0.127 bug fix cargo_type in create_new_route

This commit is contained in:
2023-09-04 19:09:09 +03:00
parent f2580cf766
commit 28504cbc45
4 changed files with 226 additions and 65 deletions

View File

@@ -228,7 +228,8 @@
{% for item in form.fields.cargo_type.choices %}
<div>
<input
class="custom-checkbox el_form_b_new_route"
onclick="validate(this)"
class="custom-checkbox cargo_check"
type="checkbox"
name="cargo_type"
id="id_cargo_type_{{ forloop.counter }}"
@@ -239,7 +240,9 @@
{% endif %}
/>
<label for="id_cargo_type_{{ forloop.counter }}" >
<label
for="id_cargo_type_{{ forloop.counter }}" >
<span>{{ item.1 }}</span>
</label>
</div>