diff options
| author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-02 22:19:02 +0000 |
|---|---|---|
| committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2008-12-02 22:19:02 +0000 |
| commit | 7ecbc6bf2ba614afee40d344d9191abd5f371db4 (patch) | |
| tree | 2fc410308ee593cb82a544047799468a7f050329 /templates | |
| parent | c43645bb0dab22f9b2fd368f60ea6d7b14ddc44a (diff) | |
| download | Papillon-7ecbc6bf2ba614afee40d344d9191abd5f371db4.tar.bz2 Papillon-7ecbc6bf2ba614afee40d344d9191abd5f371db4.zip | |
Modification of choices
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 2 | ||||
| -rw-r--r-- | templates/createOrEdit.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 768bc74..3a0b3b7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link rel="stylesheet" href="/papillon/static/styles.css" /> - <title>{% block title %}Polls{% endblock %}</title> + <title>{% block title %}Papillon{% endblock %}</title> </head> <body> diff --git a/templates/createOrEdit.html b/templates/createOrEdit.html index e76decd..4cc7420 100644 --- a/templates/createOrEdit.html +++ b/templates/createOrEdit.html @@ -52,7 +52,7 @@ <th>{% trans "Choices" %}</th><th>{% trans "Label" %}</th><th>{% trans "Limit" %}</th><th>{% trans "Delete?"%}</th> </tr> {% for choice in choices %}<tr> - <td> </td><td>{{choice.name}}</td><td>{%if choice.limit%}{% blocktrans with choice.limit as choice_limit%}Limited to {{choice_limit}} vote(s){% endblocktrans %}{%endif%}</td><td><input type='checkbox' name='delete_{{choice.id}}'/></td> + <td> </td><td><input type='text' name='modify_{{choice.id}}' value="{{choice.name}}"/></td><td>{%if choice.limit%}{% blocktrans with choice.limit as choice_limit%}Limited to {{choice_limit}} vote(s){% endblocktrans %}{%endif%}</td><td><input type='checkbox' name='delete_{{choice.id}}'/></td> </tr> {% endfor %}{% endif %} <tr> |
