summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2016-04-15 19:00:07 +0530
committeradityacp2016-04-26 19:06:31 +0530
commitc2e8c3ff4e07de717f74c0a6d9199c317452bf43 (patch)
tree1174faa61dabd820ed1d9e437cc49643622b868d
parentfcf57e94ad9e91588c4994ec2594d66275b25e17 (diff)
downloadonline_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.tar.gz
online_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.tar.bz2
online_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.zip
Changes after rebase
-rw-r--r--yaksh/templates/yaksh/addteacher.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html
index bc156a6..2cb0625 100644
--- a/yaksh/templates/yaksh/addteacher.html
+++ b/yaksh/templates/yaksh/addteacher.html
@@ -35,7 +35,11 @@
<th>Position</th>
{% for teacher in teachers %}
<tr>
- <td><input type="checkbox" name="check" value="{{ teacher.id }}"></td>
+ <td>
+ {% if teacher != user %}
+ <input type="checkbox" name="check" value="{{ teacher.id }}">
+ {% endif %}
+ </td>
<td>{{ teacher.first_name }}</td>
<td>{{ teacher.last_name }}</td>
<td>{{ teacher.email }}</td>