23 lines
649 B
HTML
23 lines
649 B
HTML
{% load i18n %}
|
|
<form
|
|
id="file-form"
|
|
hx-post="{% url 'candidate-document-reject' document_obj.id %}"
|
|
hx-target="#rejectFileForm"
|
|
hx-encoding="multipart/form-data"
|
|
class="oh-profile-section pt-3"
|
|
>
|
|
{% csrf_token %} {{form.non_field_errors}}
|
|
|
|
<div class="oh-input__group">
|
|
<label class="oh-input__label" for="{{form.reject_reason.id_for_label}}"
|
|
>{% trans "Reason" %}</label
|
|
>
|
|
{{form.reject_reason}} {{form.reject_reason.errors}}
|
|
</div>
|
|
<div class="oh-modal__dialog-footer p-0 mt-3">
|
|
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
|
{% trans "Save" %}
|
|
</button>
|
|
</div>
|
|
</form>
|