{% extends "layout.html" %}
{% block content %}
<h1>Edit Student</h1>
<form method="POST">
    {{ form.hidden_tag() }}
    <div class="form-group">
        {{ form.name.label }} {{ form.name(class_="form-control") }}
    </div>
    <div class="form-group">
        {{ form.age.label }} {{ form.age(class_="form-control") }}
    </div>
    <div class="form-group">
        {{ form.grade.label }} {{ form.grade(class_="form-control") }}
    </div>
    {{ form.submit(class_="btn btn-primary") }}
</form>
{% endblock %}
