#2761 rémunération en cours : calculé avec régime de travail
[auf_rh_dae.git] / project / rh / templates / admin / filter_select.html
CommitLineData
fd009814 1{% load i18n %}
fd009814
PP
2<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
3{% if choices|length > 5 %}
4<select style="width: 160px;" onchange="window.location=window.location.pathname+this.options[this.selectedIndex].value">
5{% for choice in choices %}
6 <option{% if choice.selected %} selected="selected"{% endif %} style="width: 130px;"
7 value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
8{% endfor %}
9</select>
10
11{% else %}
12<ul>
13{% for choice in choices %}
14 <li{% if choice.selected %} class="selected"{% endif %}>
15 <a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
16{% endfor %}
17</ul>
18{% endif %}
19
20