1 {% load pagination_tags %}
2 {% load sorting_tags %}
4 {% autosort chercheurs %}
5 {% autopaginate chercheurs
20 %}
9 <form method=
"get" action=
"" class=
"contenu-wrapper">
10 <table id=
"repertoire_recherche">
11 {{repertoire_form.as_table}}
12 <tr><td colspan=
"2" class=
"Lib"><input type=
"submit" class=
"bouton" value=
"Rechercher" /></td></tr>
16 <h5>Résultats : {{nb_chercheurs}} chercheurs correspondant à votre recherche
</h5>
18 <div class=
"centre">{% paginate %}
</div>
19 <div class=
"contenu-wrapper">
20 <table id=
"repertoire">
22 <th>{% anchor personne__nom Nom %}
</th>
23 <th>{% anchor etablissement__nom Établissement %}
</th>
24 <th>{% anchor etablissement__pays Localisation %}
</th>
26 {% for chercheur in chercheurs %}
27 <tr class=
"{% cycle 'odd' 'notodd' %}">
28 <td><a href=
"{% url chercheurs.views.retrieve chercheur.id %}">{{ chercheur }}
</a></td>
29 <td>{% firstof chercheur.etablissement chercheur.etablissement_autre_nom %}
</td>
30 <td>{% firstof chercheur.etablissement.pays chercheur.etablissement_autre_pays %}
</td>
35 <div class=
"centre">{% paginate %}
</div>