Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions templates/Home.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ <h4>Lectures</h4>
<form action="AddSlot" method="POST">
{% csrf_token %}
{% for lecture in lectures %}
<label>
<input type="radio" name="slot" value="{{lecture}}">
{{lecture}}<br>
</label>
{% endfor %}
<br>
<button type="submit" name="course_number" value="{{course_number}}">Submit</button>
Expand All @@ -65,8 +67,10 @@ <h4>Tutorials</h4>
<form action="AddSlot" method="POST">
{% csrf_token %}
{% for tutorial in tutorials %}
<label>
<input type="radio" name="slot" value="{{tutorial}}">
{{tutorial}}<br>
</label>
{% endfor %}
<br>
<button type="submit" name="course_number" value="{{course_number}}">Submit</button>
Expand All @@ -78,8 +82,10 @@ <h4>Practicals</h4>
<form action="AddSlot" method="POST">
{% csrf_token %}
{% for practical in practicals %}
<label>
<input type="radio" name="slot" value="{{practical}}">
{{practical}}<br>
</label>
{% endfor %}
<br>
<button type="submit" name="course_number" value="{{course_number}}">Submit</button>
Expand Down