0.0.154 upd select css
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="container-input-form-create-ticket">
|
||||
<select name="department"
|
||||
id="id_department"
|
||||
class="el-form-create-ticket-select">
|
||||
class="custom_select el-form-create-ticket-select">
|
||||
{# <option>Отдел: Техническая поддержка</option>#}
|
||||
{% 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>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
onchange="OnSelectionChange(this)"
|
||||
name="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 %}
|
||||
<option
|
||||
@@ -186,7 +186,7 @@
|
||||
<div>
|
||||
<label for="id_from_place">{{ form.fields.from_place.label }}</label>
|
||||
<select
|
||||
class="el_form_b_new_route"
|
||||
class="custom_select el_form_b_new_route"
|
||||
name="from_place"
|
||||
{# onchange="hideErrorMsg(this)"#}
|
||||
id="id_from_place"
|
||||
@@ -207,7 +207,7 @@
|
||||
<select
|
||||
name="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 %}>
|
||||
{% for item in form.fields.to_place.choices %}
|
||||
<option
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<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>
|
||||
<span style="display: inline-block;width: 80%;">{{ item.1 }}</span>
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user