diff --git a/sapl/templates/comissoes/composicao_list.html b/sapl/templates/comissoes/composicao_list.html index 752e0c885..bc7bf8292 100644 --- a/sapl/templates/comissoes/composicao_list.html +++ b/sapl/templates/comissoes/composicao_list.html @@ -1,46 +1,45 @@ {% extends "crud/list.html" %} {% load i18n common_tags crispy_forms_tags%} -{% block base_content %} +{% block actions %} {% if user.is_authenticated and perms.comissoes.add_composicao %} -
- {% block actions %} -
- {% if view.create_url %} - - {% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %} - - {% endif %} - {% block more_buttons %}{% endblock more_buttons %} -
- {% endblock actions %} -
+
+ {% if view.create_url %} + + {% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %} + + {% endif %} + {% block more_buttons %}{% endblock more_buttons %} +
{% endif %} +{% endblock actions %} -
- Selecione o Período -
- -
-
+{% block extra_content %} +
+
+ Selecione o Período + +
+

+{% endblock %} + +{% block container_table_list %} {% if user.is_authenticated and perms.comissoes.add_participacao %} -
- - Adicionar Participação em Comissão - +
+
{% endif %} - -
- -
@@ -71,4 +70,4 @@
-{% endblock base_content %} +{% endblock %} diff --git a/sapl/templates/crud/list.html b/sapl/templates/crud/list.html index 375c6edbb..51f0f5223 100644 --- a/sapl/templates/crud/list.html +++ b/sapl/templates/crud/list.html @@ -5,17 +5,18 @@
-