gestioCOF/gestioncof/templates/gestioncof/survey.html
2018-01-19 18:01:36 +01:00

22 lines
746 B
HTML

{% extends "base_title.html" %}
{% load bootstrap %}
{% block page_size %}col-sm-8{% endblock %}
{% block realcontent %}
<h2>Sondage: {{ survey.title }}</h2>
{% if survey.details %}
<p>{{ survey.details }}</p>
{% endif %}
<form class="form-horizontal" method="post" action="{% url 'survey.details' survey.id %}">
{% csrf_token %}
{{ form | bootstrap}}
<div class="pull-right">
{% if current_answer %}
<input type="submit" name="delete" class="btn btn btn-default" value="Supprimer ma réponse" />
{% endif %}
<input type="submit" class="btn btn-primary" value="Enregistrer" />
</div>
</form>
{% endblock %}