diff --git a/sapl/templates/comissoes/reuniao_list.html b/sapl/templates/comissoes/reuniao_list.html index 78629403a..cdecd459e 100644 --- a/sapl/templates/comissoes/reuniao_list.html +++ b/sapl/templates/comissoes/reuniao_list.html @@ -1,7 +1,21 @@ {% extends "crud/list.html" %} {% load i18n %} {% load crispy_forms_tags %} -{% block actions %}{% endblock %} -{% block detail_content %} - {% crispy form %} -{% endblock detail_content %} +{% block base_content %} + + {% 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 %} +
+ {% endif %} + +{% endblock base_content %}