0.0.11
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
<select name="department"
|
||||
id="id_department"
|
||||
class="el-form-create-ticket-select">
|
||||
<option>Отдел: Техническая поддержка</option>
|
||||
{# <option>Отдел: Техническая поддержка</option>#}
|
||||
{% for choice in form.fields.department.choices %}
|
||||
<option title="{{ choice.1 }}" value="{{ choice.0 }}"{% if choice.0 == form.initial.department %} selected{% endif %}>{{ choice.1 }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% if form.errors.department %}<div class="errors">{{ form.errors.department }}</div>{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user