Introducing polls
[wolnelektury.git] / apps / polls / templates / polls / poll.html
diff --git a/apps/polls/templates/polls/poll.html b/apps/polls/templates/polls/poll.html
new file mode 100644 (file)
index 0000000..edb14cf
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load polls_tags %}
+
+{% block titleextra %}{{poll.question}}{% endblock %}
+
+
+{% block body %}
+    <div class="normal-text">
+        {% if voted_already %}
+            <p class="poll-msg">{% trans "Thanks for voting! You can see current results below." %}</p>
+        {% endif %}
+        {% poll poll %}
+    </div>
+{% endblock %}
\ No newline at end of file