| 1 | <div class="recipient-field field has-addons mb-2"> |
| 2 | <div class="control"> |
| 3 | <div class="select"> |
| 4 | {% set selected = selected|default('to') %} |
| 5 | <select> |
| 6 | <option value="to" {% if selected == 'to' %}selected{% endif %}> |
| 7 | {% trans %}To{% endtrans %} |
| 8 | </option> |
| 9 | <option value="cc" {% if selected == 'cc' %}selected{% endif %}> |
| 10 | {% trans %}Cc{% endtrans %} |
| 11 | </option> |
| 12 | <option value="bcc" {% if selected == 'bcc' %}selected{% endif %}> |
| 13 | {% trans %}Bcc{% endtrans %} |
| 14 | </option> |
| 15 | </select> |
| 16 | </div> |
| 17 | </div> |
| 18 | <div class="control is-expanded"> |
| 19 | <input class="input" type="text" placeholder="{{ _('Recipient JID') }}"> |
| 20 | </div> |
| 21 | <div class="control"> |
| 22 | <button class="button delete-action" title="{% trans %}Remove{% endtrans %}"> |
| 23 | <span class="delete"></span> |
| 24 | </button> |
| 25 | </div> |
| 26 | </div> |