Refactor exam_groups_edit.html to use crispy forms for improved form rendering and styling

This commit is contained in:
Ross
2026-04-13 09:45:58 +01:00
parent 3e936e494a
commit d9331fe279
@@ -1,4 +1,5 @@
{% extends exam.get_app_name|add:'/exams.html' %}
{% load crispy_forms_tags %}
{% block content %}
<h1>Exam: {{exam}}</h1>
@@ -12,10 +13,8 @@
<form action="" method="post">
{% csrf_token %}
<table>
{{ form }}
</table>
<input type="submit" value="Submit">
{{ form|crispy }}
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock content %}