From 61ca322f4e63f284221196342efba0b0b2a8bc4b Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Fri, 20 May 2016 12:53:23 -0300 Subject: [PATCH] Faz com que apenas os resultados sejam mostrados quando feita uma pesquisa --- .../documentoadministrativo_filter.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/protocoloadm/documentoadministrativo_filter.html b/templates/protocoloadm/documentoadministrativo_filter.html index e4e0e73bb..f2112c728 100644 --- a/templates/protocoloadm/documentoadministrativo_filter.html +++ b/templates/protocoloadm/documentoadministrativo_filter.html @@ -9,14 +9,23 @@
{% trans 'Adicionar Documento Administrativo' %}
+ {% if filter_url %} +
+ {% trans 'Fazer Nova Pesquisa' %} +
+ {% endif %} + {% endblock actions %} {% block detail_content %} - + {% if not filter_url %} + + {% crispy filter.form %} + + {% endif %} - {% crispy filter.form %} {% if filter_url %}