{% extends 'client/base_client.html' %} {% block content %}
{% include 'client/single_ad.inc.html' %}
{% if proposals %}
{{ proposals.count }} proposal(s) received.
{% for proposal in proposals %}

{{ proposal.proposal }}

{% with answers=proposal.answer_set %} {% if answers %}
    {% for answer in answers.all %}
  1. {{ answer.question.question }}
    {{ answer.answer }}
  2. {% endfor %}
{% endif %} {% endwith %} View profile Accept
{% endfor %}
{% endif %} {% if assignee %}

Assigned to {{ assignee.tutor.name }}

{% endif %} {% if running %} End tuition {% endif %} {% if c_feedback %} {% with feedback=c_feedback %} {% with whos_feedback='Your' %} {% include 'tutor/feedback.inc.html' %} {% endwith %} {% endwith %} {% elif assignee and not running %} Provide feedback {% endif %} {% if t_feedback %} {% with feedback=t_feedback %} {% with whos_feedback="Tutor's" %} {% include 'tutor/feedback.inc.html' %} {% endwith %} {% endwith %} {% endif %} {% endblock content %}