{% extends 'base.html' %} {% load static %} {% block title %}{{ title|default:"Student Form" }} - Rapha-Bethel BNPS{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% if student %} Edit Student: {{ student.first_name }} {{ student.last_name }} {% else %} Add New Student {% endif %}

Back to Student List
{% csrf_token %}
Personal Information
{% if form.first_name.errors %}
    {{ form.first_name.errors }}
{% endif %}
{% if form.last_name.errors %}
    {{ form.last_name.errors }}
{% endif %}
Auto-generated if left blank
{% if form.date_of_birth.errors %}
    {{ form.date_of_birth.errors }}
{% endif %}
Contact Information
Emergency Contact
Medical Information
Academic Information
Photo & Documents
{% if student and student.photo %}
{{ student.get_full_name }}
{% endif %}
{% if student and student.birth_certificate %} {% endif %}
Additional Notes
Cancel
{% endblock %} {% block extra_js %} {% endblock %}