8 lines
1.1 KiB
HTML
8 lines
1.1 KiB
HTML
<form class="staff-share-form" method="post" action="{% url 'staff_tickets:share_message' ticket.public_id item.public_id %}">
|
|
{% csrf_token %}
|
|
<label for="share-expert-{{ item.pk }}">کارشناس گیرنده</label>
|
|
<select id="share-expert-{{ item.pk }}" name="expert" required><option value="">انتخاب کارشناس</option>{% for expert in share_experts %}<option value="{{ expert.pk }}">{{ expert }}{% if expert.primary_unit %} — {{ expert.primary_unit }}{% endif %}</option>{% endfor %}</select>
|
|
<details class="staff-share-note-field"><summary>افزودن توضیح<span class="staff-share-chevron" aria-hidden="true"></span></summary><label for="share-note-{{ item.pk }}">توضیح برای گیرنده</label><textarea id="share-note-{{ item.pk }}" name="note" maxlength="500" rows="2" placeholder="مثلاً: لطفاً این رسید را بررسی کنید"></textarea></details>
|
|
<div class="staff-share-footer"><button class="staff-share-submit" type="submit" aria-label="اشتراک پیام و پیوستهایش">اشتراک</button></div>
|
|
</form>
|