diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-08 13:23:16 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-08-08 13:23:16 +0000 |
| commit | 2b384dd33ecd0a17823e60cded5d3b111ea8133e (patch) | |
| tree | 4f2cbd4dde85482827d3f15b839608bdf91637e9 /templates/createOrEdit.html | |
| parent | 25cb65439859e7fd3e9b28815d3d620affc145ec (diff) | |
| download | Papillon-2b384dd33ecd0a17823e60cded5d3b111ea8133e.tar.bz2 Papillon-2b384dd33ecd0a17823e60cded5d3b111ea8133e.zip | |
Possibility to delete a vote. Few bug correction. Documentation. Cleaner functions.
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' /> |
