0.8.357
This commit is contained in:
@@ -16,19 +16,27 @@
|
||||
{# </div>#}
|
||||
{% for item in route_form.fields.type_transport.choices %}
|
||||
{% if forloop.counter0 > 0 %}
|
||||
<div>
|
||||
<input
|
||||
class="custom-checkbox el_form_find_route"
|
||||
type="checkbox"
|
||||
name="type_transport"
|
||||
id="id_cargo_type_car_{{ forloop.counter }}"
|
||||
onchange="filters_func_find_route_main(this,'{{ owner_type }}')"
|
||||
value="{{ item.0 }}"
|
||||
/>
|
||||
|
||||
<label for="id_cargo_type_car_{{ forloop.counter }}" >
|
||||
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">
|
||||
<span style="display: inline-block;width: 80%;">{{ item.1 }}</span>
|
||||
{# <div>#}
|
||||
{# <input#}
|
||||
{# class="custom-checkbox el_form_find_route"#}
|
||||
{# type="checkbox"#}
|
||||
{# name="type_transport"#}
|
||||
{# id="id_cargo_type_car_{{ forloop.counter }}"#}
|
||||
{# onchange="filters_func_find_route_main(this,'{{ owner_type }}')"#}
|
||||
{# value="{{ item.0 }}"#}
|
||||
{# />#}
|
||||
{##}
|
||||
{# <label for="id_cargo_type_car_{{ forloop.counter }}" >#}
|
||||
{# <img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">#}
|
||||
{# <span style="display: inline-block;width: 80%;">{{ item.1 }}</span>#}
|
||||
{# </label>#}
|
||||
{# </div>#}
|
||||
<div class="checkbox_type_transport">
|
||||
<input class="input_f_checkbox_type_transport el_form_find_route" type="checkbox" value="{{ item.0 }}" name="type_transport" id="id_cargo_type_car_{{ forloop.counter }}" onchange="filters_func_find_route_main(this,'{{ owner_type }}')">
|
||||
<label for="id_cargo_type_car_{{ forloop.counter }}" class="label_f_checkbox_type_transport">
|
||||
<div class="trigger_f_type_transport"></div>
|
||||
<img class="img_f_checkbox_type_transport" src="{% static "img/svg/Car.svg" %}">
|
||||
<span class="span_f_checkbox_type_transport">{{ item.1 }}</span>
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user