{% extends 'base.html' %}
{% block content %}
{% if claims %}
List of all the claims for the task {{task.title}}
{% for claim in claims %}
{{claim.user.username}}
on {{claim.creation_datetime|date:"D d M Y"}} at {{claim.creation_datetime|time:"H:i"}} wrote:
{{claim.message}}
{% endfor %}
{% else %}
{% if task_claimable %}
There are no claims for this task yet.
Be the first to claim the task.
{% else %}
The task cannot be claimed at this stage.
{% endif %}
Click here to view the task.
{% endif %}
{% if task_claimed and is_mentor %}
Select a user to assign the work.
{% endif %}
{% if user_can_claim %}
{% if errors %}
{% for error in errors %}
{{error}}
{% endfor %}
{% endif %}
Please note that you can claim only once and so write your proposal carefully.
Claim proposal:
{% endif %}
{% endblock %}