Skip to content
Snippets Groups Projects
Commit a09c7e3b authored by Erin Mullaney's avatar Erin Mullaney
Browse files

#960 wrap form in check

parent 30014e3a
No related branches found
No related tags found
No related merge requests found
......@@ -34,15 +34,17 @@
{{ object.output_answers|submission_links }}
</div>
<form method="post">
{% csrf_token %}
{% if opinion_choices %}
<form method="post">
{% csrf_token %}
{% for choice in opinion_choices %}
<button name="opinion" type="submit" value="{{ choice.value }}"
class="button button--primary button--bottom-space {{ choice.disabled_class }}" {% if choice.disabled %}disabled{% endif %}>
{{ choice.label }}
</button>
{% endfor %}
</form>
{% for choice in opinion_choices %}
<button name="opinion" type="submit" value="{{ choice.value }}"
class="button button--primary button--bottom-space {{ choice.disabled_class }}" {% if choice.disabled %}disabled{% endif %}>
{{ choice.label }}
</button>
{% endfor %}
</form>
{% endif %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment