summaryrefslogtreecommitdiff
path: root/templates/createOrEdit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/createOrEdit.html')
-rw-r--r--templates/createOrEdit.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html
index abc949e..cee7616 100644
--- a/templates/createOrEdit.html
+++ b/templates/createOrEdit.html
@@ -1,6 +1,9 @@
{% extends "base.html" %}
{% block content %}
+ {% if not new and not choices %}
+ <p class='error'>As long as no option was added to the poll, it will not be made available.</p>
+ {% endif %}
<h2>{% if new %}New{% else %}Edit{% endif %} poll</h2>
{% if error %}<p class='error'>{{ error }}</p>{% endif %}
<form action="{{admin_url}}" method="post">