{% extends 'dashboard/base-dashboard.html' %}

{% block content %}
	{% load crispy_forms_tags %}
    <div class="row justify-content-center">
        <div class="col-md-6 col-sm-12">
            <h1 class="text-center pt-5">Add New Student</h1>
            <form class="site-form" method="POST" action="{% url 'student_info:studentForm' %}">
                {% csrf_token %} 
                {{ form|crispy }}
                <div class="d-grid gap-2">
                    <button class="mt-3 btn btn-primary primaryAction" type="submit">
                        Add Student
                    </button>
                </div>
            </form>
        </div>
    </div>
{% endblock content %}