Source

teapoll / templates / survey / edit.html

Full commit
{% extends "base.html" %}

{% block content %}
Survey: <b>{{ survey.title }}</b><br/>
Subject#: <b>{{ subject.pk }}</b>

<form method="POST" action="{% url edit_survey survey.pk subject.pk %}">
{% csrf_token %}
{% for answer in answers %}
<hr/>
{{ answer.as_html }}
{% endfor %}

<hr/>
<input type="submit" value="Submit" />
</form>
{% endblock %}