diff options
author | adityacp | 2016-04-15 19:00:07 +0530 |
---|---|---|
committer | adityacp | 2016-04-26 19:06:31 +0530 |
commit | c2e8c3ff4e07de717f74c0a6d9199c317452bf43 (patch) | |
tree | 1174faa61dabd820ed1d9e437cc49643622b868d /yaksh | |
parent | fcf57e94ad9e91588c4994ec2594d66275b25e17 (diff) | |
download | online_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.tar.gz online_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.tar.bz2 online_test-c2e8c3ff4e07de717f74c0a6d9199c317452bf43.zip |
Changes after rebase
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/templates/yaksh/addteacher.html | 6 |
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> |