zkt25/myproject/myapp/templates/student_form.html
2025-03-19 12:06:42 +01:00

18 lines
334 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Student Form</title>
</head>
<body>
<h1>Student Information Form</h1>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Submit</button>
</form>
<br>
<a href="{% url 'student_list' %}">View All Students</a>
</body>
</html>