0.0.153 rewrite css for selct
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Откуда забрать посылку</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="select_form_filters_find_route el_form_find_route" name="from_place">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="custom_select select_form_filters_find_route el_form_find_route" name="from_place">
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.from_place.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.from_place == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
@@ -60,7 +60,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Куда доставить посылку</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="select_form_filters_find_route el_form_find_route" name="to_place">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" class="custom_select select_form_filters_find_route el_form_find_route" name="to_place">
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.to_place.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.to_place == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
@@ -81,7 +81,7 @@
|
||||
</div>
|
||||
<div class="methods_transportation_form_filters">
|
||||
<div class="title_el_methods_transportation">Сортировать по:</div>
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" name="sort" class="select_form_filters_find_route el_form_find_route">
|
||||
<select onchange="filters_func_find_route_main(this,'{{ owner_type }}')" name="sort" class="custom_select select_form_filters_find_route el_form_find_route">
|
||||
<option value="last" {% if route_form.initial.sort == item.0 %} selected{% endif %}>По последним</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier last">
|
||||
<label>test</label>
|
||||
<select class="el_form_find_route" name="cargo_type" id="id_cargo_type" {% if route_form.fields.cargo_type.required %} {% endif %}>
|
||||
<select class="custom_select el_form_find_route" name="cargo_type" id="id_cargo_type" {% if route_form.fields.cargo_type.required %} {% endif %}>
|
||||
<option value="" selected="selected">не имеет значения</option>
|
||||
{% for item in route_form.fields.cargo_type.choices %}
|
||||
<option value="{{ item.0 }}" {% if route_form.initial.cargo_type == item.0 %} selected{% endif %}>{{ item.1 }}</option>
|
||||
|
||||
Reference in New Issue
Block a user