0.0.76 add btn profile

This commit is contained in:
2023-08-09 13:41:56 +03:00
parent f8ed2b6fd2
commit a80ecaa473
4 changed files with 98 additions and 24 deletions

View File

@@ -182,8 +182,11 @@
</div>
<div class="checkbox_cargo_type">
{% for item in form.fields.cargo_type.choices %}
<input
<div>
<input
class="custom-checkbox"
type="checkbox"
name="cargo_type"
id="id_cargo_type_{{ forloop.counter }}"
@@ -191,12 +194,16 @@
value="{{ item.0 }}"
{% if form.initial.cargo_type == item.0 %}
checked="checked"
{% endif %}/>
<label for="id_cargo_type_{{ forloop.counter }}" >
{{ item.1 }}
</label>
{% endif %}
/>
<label for="id_cargo_type_{{ forloop.counter }}" >
{{ item.1 }}
</label>
</div>
{% endfor %}
{# <lable for="">#}
{##}
{# </lable>#}