fix never mind
This commit is contained in:
SDE
2023-09-23 16:54:28 +03:00
parent 2b95eceea9
commit 57f5392203
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@
<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">
<option value="" selected="selected">--не имеет значения--</option>
<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>
{% endfor %}
@@ -61,7 +61,7 @@
<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">
<option value="" selected="selected">--не имеет значения--</option>
<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>
{% endfor %}

View File

@@ -90,7 +90,7 @@
<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 %}>
<option value="" selected="selected">--не имеет значения--</option>
<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>
{% endfor %}