Fait marcher la recherche rapide
This commit is contained in:
parent
ce839efabc
commit
7ce25c7dd7
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,8 @@
|
||||||
<a class="language english {% if get_current_language == "en" %}current-language{% endif %}" href="/en{{ request.get_full_path|slice:'3:' }}">English</a>
|
<a class="language english {% if get_current_language == "en" %}current-language{% endif %}" href="/en{{ request.get_full_path|slice:'3:' }}">English</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="search-area" action='{% url "home" %}'>
|
<form id="search-area" method="post" action='{% url "home" %}'>
|
||||||
|
{% csrf_token %}
|
||||||
<input id="id_name" name="name" type="search" placeholder="Recherche Rapide">
|
<input id="id_name" name="name" type="search" placeholder="Recherche Rapide">
|
||||||
<button type="submit">{% trans "Rechercher" %}</button>
|
<button type="submit">{% trans "Rechercher" %}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div class="content" id="content-home">
|
<div class="content" id="content-home">
|
||||||
<h2>{% trans "Chercher quelqu'un·e dans l'annuaire" %}</h2>
|
<h2>{% trans "Chercher quelqu'un·e dans l'annuaire" %}</h2>
|
||||||
<form method='post' action="">
|
<form method="post" action="">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<label for="id_name">{% trans "Nom/Surnom :" %}</label>
|
<label for="id_name">{% trans "Nom/Surnom :" %}</label>
|
||||||
{{ form.name }}
|
{{ form.name }}
|
||||||
|
|
Loading…
Reference in a new issue