0.0.171 routes

This commit is contained in:
SBD
2025-02-28 14:42:21 +03:00
parent e2d951ccbf
commit e0baa07c4f

View File

@@ -29,7 +29,7 @@
<label for="id_cargo_type">{% trans "Тип посылки" %}</label>
<select name="cargo_type" id="id_cargo_type" onchange="searchRoutes()">
<option value="">{% trans "Любой" %}</option>
{% for cargo_type in route_form.fields.cargo_type.choices %}
{% for cargo_type in form.fields.cargo_type.choices %}
<option value="{{ cargo_type.0 }}">{{ cargo_type.1 }}</option>
{% endfor %}
</select>