{% extends "admin/base_modal.html" %} {% load i18n %} {% block modal_id %}id_submit_for_endorsement{% endblock %} {% block modal_header_text %}Submit for endorsement{% endblock %} {% block modal_body %} {% if not current.can_endorse %}
Warning! Please ensure all areas have been completed before seeking endorsement. Edit Prescription.
{% else %}

Are you sure you wish to submit this ePFP for endorsement?

{% csrf_token %}
{% endif %} {% endblock %} {% block modal_btn_close_label %}{% trans 'Cancel' %}{% endblock %} {% block modal_btn_primary_label %}{% trans 'Submit' %}{% endblock %} {% block modal_btn_primary_onclick %}return document.getElementById('id_submit_for_endorsement_form_submit').click();{% endblock %}