blob: ebbbb577a888e56d198cf36da33fe12fa98c4ac5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<center><h3>Teacher(s)/TA(s)</h3></center>
<br>
{% if teachers %}
<form action="{% url 'yaksh:remove_teacher' course.id %}" method="post">
{% csrf_token %}
<div class="container">
<table class="table table-responsive-sm course-detail">
<tr>
<th>Select</th>
<th>Name</th>
<th>Email</th>
</tr>
{% for teacher in teachers %}
<tr>
<td><input type="checkbox" name="remove" value="{{ teacher.id }}"></td>
<td>{{ teacher.get_full_name }}</td>
<td>{{ teacher.email }}</td>
</tr>
{% endfor %}
<table>
</div>
<br>
<button class="btn btn-danger" type="submit" data-toggle="tooltip" title="Remove Selected Teachers from this course">
<i class="fa fa-minus-square"></i>
Remove Teachers
</button>
</form>
{% else %}
<center><b class="badge badge-warning">No Teacher(s) added</b></center>
{% endif %}
|