0.0.11
This commit is contained in:
@@ -18,7 +18,7 @@ function createTicketShow () {
|
||||
}
|
||||
|
||||
function countLetters () {
|
||||
let area = document.querySelector("textarea[name=enter-message]")
|
||||
let area = document.querySelector(".el-form-create-ticket-textarea")
|
||||
let count = area.value.length
|
||||
if (count <= 500) {
|
||||
let ins_area = document.querySelector(".letrs-count-span")
|
||||
|
||||
@@ -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