0.0.40 remove overflow from.input_list.show

This commit is contained in:
2023-07-25 14:42:40 +03:00
parent 6a8a0d2abb
commit 6ddc4085d3
2 changed files with 8 additions and 2 deletions

View File

@@ -99,7 +99,7 @@
<label for="id_cargo_type">{{ form.fields.cargo_type.label }}</label>
</div>
<div>
<select multiple name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
<select multiple size="5" name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
{% for item in form.fields.cargo_type.choices %}
<option value="{{ item.0 }}"{% if form.fields.cargo_type.initial == item.0 %} selected="selected"{% endif %}>{{ item.1 }}</option>
{% endfor %}