equal
deleted
inserted
replaced
1 {% extends 'base.html' %} |
1 {% extends 'base.html' %} |
2 {% block content %} |
2 {% block content %} |
3 Form here |
|
4 <form action="" method="post"> |
3 <form action="" method="post"> |
5 {{form.as_table}} |
4 {{form.as_table}} |
6 <input type="submit" value="submit"> |
5 <input type="submit" value="submit"> |
7 </form> |
6 </form> |
|
7 {% if pending_requests %} |
|
8 Pending requests:<br /> |
|
9 {% for req in pending_requests %} |
|
10 <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested |
|
11 {% for a_user in req.sent_to.all %} |
|
12 <a href="/user/view/uid={{a_user.id}}">{{a_user.username}}</a> to act as a mentor |
|
13 {% endfor %} |
|
14 on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br /> |
|
15 {% endfor %} |
|
16 {% endif %} |
8 {% endblock %} |
17 {% endblock %} |