diff options
Diffstat (limited to 'templates/createOrEdit.html')
| -rw-r--r-- | templates/createOrEdit.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html index cee7616..073dcfd 100644 --- a/templates/createOrEdit.html +++ b/templates/createOrEdit.html @@ -2,12 +2,12 @@ {% 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> + <p class='error'>As long as no options were 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"> - <table class='new_poll'> + <table id='new_poll'> {% if not new %}<tr> <td><label>Poll url</label></td> <td><a href='http://{{full_base_url}}'>http://{{full_base_url}}</a></td> @@ -54,7 +54,7 @@ {% for choice in choices %}<tr> <td> </td><td>{{choice.name}}</td><td><input type='checkbox' name='delete_{{choice.id}}'/></td> </tr> - {% endfor %}{% endif %}<tr><td><label>New choice</label></td><td>{{choiceform}}</td></tr> + {% endfor %}{% endif %}<tr><td><label>New choice</label></td><td><input type='text' name='new_choice'/></td></tr> {% endif %}</table> {% if new %}<input type='hidden' name='new' value='1'/> <input type='submit' value='Create' /> |
