mark forms requiring authentication (#9180)

This commit is contained in:
Frédéric Péters 2015-12-03 10:09:17 +01:00
parent 2a736806fe
commit bd4617c8bc
1 changed files with 6 additions and 3 deletions

View File

@ -15,7 +15,8 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>
{% for form in category.forms %}
<li data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
<li {% if form.authentication_required %}class="required-authentication"{% endif %}
data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
{% endfor %}
</ul>
</li>
@ -39,7 +40,8 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>
{% for form in category.forms %}
<li data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
<li {% if form.authentication_required %}class="required-authentication"{% endif %}
data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
{% endfor %}
</ul>
</li>
@ -82,7 +84,8 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>
{% for form in category.forms %}
<li data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
<li {% if form.authentication_required %}class="required-authentication"{% endif %}
data-keywords="{{form.keywords|join:' '}}"><a href="{{form.url}}">{{form.title}}</a></li>
{% endfor %}
</ul>
</li>