diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-25 16:52:00 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-25 16:52:00 +0100 |
| commit | e3c65fd09d849225f2173a310cbbce39c08fd71b (patch) | |
| tree | 50e8df03a421c54a8aee47cdf1caea303e13c0c5 /papillon/templates/main.html | |
| parent | 3431005b5268d5166d8693bd9e58c8dafaf5be3c (diff) | |
| parent | dbf0a5632319733d8fbdbdff2fb85f5026a02c7a (diff) | |
| download | Papillon-e3c65fd09d849225f2173a310cbbce39c08fd71b.tar.bz2 Papillon-e3c65fd09d849225f2173a310cbbce39c08fd71b.zip | |
Merge branch 'django-1.5' of https://github.com/Trim/papillon into v0.5
Diffstat (limited to 'papillon/templates/main.html')
| -rw-r--r-- | papillon/templates/main.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/papillon/templates/main.html b/papillon/templates/main.html index 696ab47..9a3adfb 100644 --- a/papillon/templates/main.html +++ b/papillon/templates/main.html @@ -3,21 +3,21 @@ {% block content %} {% if error %}<p class='error'>{{error}}</p>{%endif%} -<h2><a href='{% url create%}'>{%trans "Create a poll"%}</a></h2> +<h2><a href="{% url 'create' %}">{%trans "Create a poll"%}</a></h2> <p>{% trans "Create a new sondage for take a decision, find a date for a meeting, etc." %} <a href='create'>{% trans "It's here!" %}</a></p> {% if public %} {% if polls %}<h2>{%trans "Public polls"%}</h2>{%endif%} {% for poll in polls %} <div class='poll-description'> - <p><a href='{% url poll poll.base_url%}'>{{poll.name}}</a></p> + <p><a href="{% url 'poll' poll.base_url %}">{{poll.name}}</a></p> <p>{{poll.description|safe}}</p> </div> {% endfor %} {% if categories %}<h2>{%trans "Categories"%}</h2>{% endif %} {% for category in categories %} -<h3><a href='{% url category category.id%}'>{{category.name}}</a></h3> +<h3><a href="{% url 'category' category.id %}">{{category.name}}</a></h3> {% endfor %} {% endif %} {% endblock %} |
