0.0.76 add btn profile
This commit is contained in:
@@ -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>#}
|
||||
|
||||
Reference in New Issue
Block a user