symposion_app/symposion/templates/reviews/review_assignment.html

33 lines
1,016 B
HTML
Raw Normal View History

2012-08-14 07:49:57 +00:00
{% extends "reviews/base.html" %}
{% block body %}
<h1>Review Assignments</h1>
{% if assignments %}
<table>
<tr>
<th>Proposal</th>
<th>Opted out</th>
<th>Opt out</th>
</tr>
{% for assignment in assignments %}
<tr>
<td>
<a href="{% url review_detail assignment.proposal.pk %}">
{{ assignment.proposal.title }}
</a>
</td>
<td>
<form method="post" action="{% url review_assignment_opt_out assignment.pk %}">
{% csrf_token %}
<input type="submit" value="Opt-out" />
</form>
</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>You do not have any assignments.</p>
{% endif %}
{% endblock %}