{% extends 'base.html' %} {% block content %} Click here to return to the task.

Requesting a user to act as a mentor for the task sends him a request. If he accepts the request, he will also be the mentor for this task {% ifequal task.status "UP" %} and can view/editlearn more the task. But only the creator of a task can publish the task. {% else %} and will have all the rightslearn more you posses over the task. {% endifequal %}

{{form.as_table}}
{% if pending_requests %} Pending requests:
{% for req in pending_requests %} {{req.sent_by.username}} requested {% for a_user in req.sent_to.all %} {{a_user.username}} to act as a mentor {% endfor %} on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}
{% endfor %} {% endif %} {% endblock %}