This commit is contained in:
2023-08-28 13:43:58 +03:00
parent fcb5df09b1
commit f92f7b6ba8
2 changed files with 5 additions and 0 deletions

View File

@@ -170,6 +170,7 @@
<div class="methods_transportation_form_filters">
<div class="title_el_methods_transportation">Откуда забрать посылку</div>
<select class="select_form_filters_find_route" name="from_place">
<option value="" selected="selected">--не имеет значения--</option>
{% for item in form.fields.from_place.choices %}
<option value="{{ item.0 }}">{{ item.1 }}</option>
{% endfor %}
@@ -181,12 +182,14 @@
<div class="methods_transportation_form_filters">
<div class="title_el_methods_transportation">Куда доставить посылку</div>
<select class="select_form_filters_find_route" name="to_place">
<option value="" selected="selected">--не имеет значения--</option>
{% for item in form.fields.to_place.choices %}
<option value="{{ item.0 }}">{{ item.1 }}</option>
{% endfor %}
</select>
</div>
<div class="methods_transportation_form_filters">
<label for="weight">Вес посылки (кг)</label>
<div class="range-slider">
<input type="text" class="range_slider_form_filters" name="weight" value="{{ form.fields.weight.initial }}" />
</div>

View File

@@ -42,6 +42,8 @@
<span class="email_carrier_span{% if route.owner == user %} active{% endif %}">{{ route.owner.email }}</span>
<input value="{{ route.owner.email }}">
<div class="clear_both"></div>
<div>{{ route.get_cargo_type_display }}</div>
<div>{{ route.weight }}</div>
</a>
</div>
{% if route.owner != user %}