mirror of https://github.com/interlegis/sapl.git
3 changed files with 7 additions and 40 deletions
@ -1,20 +0,0 @@ |
|||||
{% extends "crud/list.html" %} |
|
||||
{% load i18n %} |
|
||||
{% load crispy_forms_tags %} |
|
||||
{% block detail_content %} |
|
||||
|
|
||||
{% if user.is_authenticated and perms.comissoes.add_composicao %} |
|
||||
<div class="context-actions clearfix"> |
|
||||
{% block actions %} |
|
||||
<div class="actions btn-group pull-right btn-group-lg" role="group"> |
|
||||
{% if view.create_url %} |
|
||||
<a href="{{ view.create_url }}" class="btn btn-default"> |
|
||||
{% blocktrans with verbose_name=view.verbose_name %} Adicionar {{ verbose_name }} {% endblocktrans %} |
|
||||
</a> |
|
||||
{% endif %} |
|
||||
{% block more_buttons %}{% endblock more_buttons %} |
|
||||
</div> |
|
||||
{% endblock actions %} |
|
||||
</div> |
|
||||
{% endif %} |
|
||||
{% endblock detail_content %} |
|
||||
Loading…
Reference in new issue