brotherton-erpnext/erpnext/templates/generators/student_admission.html

30 lines
633 B
HTML

{% extends "templates/web.html" %}
{% block breadcrumbs %}
{% include "templates/includes/breadcrumbs.html" %}
{% endblock %}
{% block header %}
<h1>{{ title }}</h1>
{% endblock %}
{% block page_content %}
{%- if introduction -%}
<div>{{ introduction }}</div>
{% endif %}
{%- if application_form_route -%}
<p>
<a class='btn btn-primary'
href='/{{ doc.application_form_route }}?new=1&student_admission={{ doc.name }}
{%- if doc.program -%}&program={{ doc.program }}{%- endif -%}
{%- if doc.academic_year -%}&academic_year={{ doc.academic_year }}{%- endif -%}'>
{{ _("Apply Now") }}</a>
</p>
{% endif %}
{% endblock %}