fix: Student Admission (#22280)

* Student Admission fix

* adding check for application

* adding check for application

* updating error message

* added date_diff for date comparision

(cherry picked from commit c6592c880a)

Co-authored-by: Anupam Kumar <anupamvns0099@gmail.com>
Co-authored-by: Anurag Mishra <32095923+Anurag810@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2020-06-19 11:58:51 +05:30
committed by GitHub
parent 6f3e5e1891
commit 5acc06dfe6
7 changed files with 416 additions and 805 deletions

View File

@@ -14,12 +14,12 @@
{%- if introduction -%}
<div>{{ introduction }}</div>
{% endif %}
{% endif %}
{%- if application_form_route -%}
{%- if doc.enable_admission_application -%}
<p>
<a class='btn btn-primary'
href='/{{ doc.application_form_route }}'>
href='/student-applicant'>
{{ _("Apply Now") }}</a>
</p>
{% endif %}