0.0.154 upd select css
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<div class="container-input-form-create-ticket">
|
<div class="container-input-form-create-ticket">
|
||||||
<select name="department"
|
<select name="department"
|
||||||
id="id_department"
|
id="id_department"
|
||||||
class="el-form-create-ticket-select">
|
class="custom_select el-form-create-ticket-select">
|
||||||
{# <option>Отдел: Техническая поддержка</option>#}
|
{# <option>Отдел: Техническая поддержка</option>#}
|
||||||
{% for choice in form.fields.department.choices %}
|
{% for choice in form.fields.department.choices %}
|
||||||
<option title="{{ choice.1 }}" value="{{ choice.0 }}"{% if choice.0 == form.initial.department %} selected{% endif %}>{{ choice.1 }}</option>
|
<option title="{{ choice.1 }}" value="{{ choice.0 }}"{% if choice.0 == form.initial.department %} selected{% endif %}>{{ choice.1 }}</option>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
onchange="OnSelectionChange(this)"
|
onchange="OnSelectionChange(this)"
|
||||||
name="type_transport"
|
name="type_transport"
|
||||||
id="id_type_transport"
|
id="id_type_transport"
|
||||||
class="el_form_b_new_route">
|
class="custom_select el_form_b_new_route">
|
||||||
|
|
||||||
{% for item in form.fields.type_transport.choices %}
|
{% for item in form.fields.type_transport.choices %}
|
||||||
<option
|
<option
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<label for="id_from_place">{{ form.fields.from_place.label }}</label>
|
<label for="id_from_place">{{ form.fields.from_place.label }}</label>
|
||||||
<select
|
<select
|
||||||
class="el_form_b_new_route"
|
class="custom_select el_form_b_new_route"
|
||||||
name="from_place"
|
name="from_place"
|
||||||
{# onchange="hideErrorMsg(this)"#}
|
{# onchange="hideErrorMsg(this)"#}
|
||||||
id="id_from_place"
|
id="id_from_place"
|
||||||
@@ -207,7 +207,7 @@
|
|||||||
<select
|
<select
|
||||||
name="to_place"
|
name="to_place"
|
||||||
id="id_to_place"
|
id="id_to_place"
|
||||||
class="el_form_b_new_route"
|
class="custom_select el_form_b_new_route"
|
||||||
{% if form.fields.to_place.required %} required{% endif %}>
|
{% if form.fields.to_place.required %} required{% endif %}>
|
||||||
{% for item in form.fields.to_place.choices %}
|
{% for item in form.fields.to_place.choices %}
|
||||||
<option
|
<option
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<label for="id_cargo_type_car_{{ forloop.counter }}" >
|
<label for="id_cargo_type_car_{{ forloop.counter }}" >
|
||||||
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">
|
<img style="display: inline-block;padding-top: 11px;" src="{% static "img/svg/Car.svg" %}">
|
||||||
<span style="ыdisplay: inline-block;width: 80%;">{{ item.1 }}</span>
|
<span style="display: inline-block;width: 80%;">{{ item.1 }}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user