added search on Sujet with django-watson

This commit is contained in:
Arthur Gerbaud
2016-08-26 10:17:59 +02:00
parent 6bdde54ed2
commit dd85cb320a
8 changed files with 48 additions and 64 deletions

View File

@@ -3,12 +3,6 @@
<a href="{% url 'sujets:liste' %}">Liste des sujets
<span class="pull-right">{% bootstrap_icon "list" %}</span></a>
</li>
{% if search_form %}
<form class="nav navbar-form app-menu text-center" method="POST" action="search/">
{% bootstrap_form search_form show_label=False %}
{% bootstrap_button 'Chercher' button_type='submit' %}
</form>
{% endif %}
{% if user.is_superuser %}
<li class="dropdown app-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">