18 lines
759 B
HTML
18 lines
759 B
HTML
<td class="text-center" id="status-result-{{ application.pk}}">
|
|
{% if application.exam_status %}
|
|
<button type="button" class="btn btn-{% if application.exam_status == 'Passed' %}success{% else %}danger{% endif %} btn-sm"
|
|
data-bs-toggle="modal"
|
|
data-bs-target="#candidateviewModal"
|
|
hx-get="{% url 'update_application_status' job.slug application.slug 'exam' 'passed' %}"
|
|
hx-target="#candidateviewModalBody"
|
|
title="Pass Exam">
|
|
{{ application.exam_status }}
|
|
</button>
|
|
{% else %}
|
|
--
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td id="exam-score-{{ application.pk}}" hx-swap-oob="true">
|
|
{{application.exam_score|default:"--"}}
|
|
</td> |