diff options
Diffstat (limited to 'templates/edit.html')
-rw-r--r-- | templates/edit.html | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/templates/edit.html b/templates/edit.html index 9ddf138..c8b7d75 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -2,6 +2,13 @@ {% load markup %} {% load i18n %} +{% block fullscript %} +<script type="text/javascript" src="http://{{root_url}}admin/jsi18n/"></script> +<script type="text/javascript" src="http://{{root_url}}media/js/core.js"></script> +<script type="text/javascript" src="http://{{root_url}}media/js/admin/RelatedObjectLookups.js"></script> +{{ form.media }} +{% endblock %} + {% block content %} {% if not choices %} <p class='error'>{% blocktrans %}As long as no options were added to the poll, @@ -16,15 +23,18 @@ it will not be made available.{% endblocktrans %}</p> <td> <a href='http://{{root_url}}edit/{{poll.base_url}}'>http://{{root_url}}edit/{{poll.base_url}}</a> </td> - <td class='form_description'> + <td class='form_description'><p> {% trans "Copy this address and send it to voters who want to participate to this poll" %} - </td> + </p></td> </tr> <tr> <td><label>{% trans "Administration url" %}</label></td> <td> <a href='http://{{root_url}}poll/{{poll.admin_url}}'>http://{{root_url}}poll/{{poll.admin_url}}</a> - <td class='form_description'>{% trans "Address to modify the current poll" %}</td> + </td> + <td class='form_description'><p> + {% trans "Address to modify the current poll" %} + </p></td> </tr> {% for field in form %} {% if field.is_hidden %} |