mirror of https://github.com/interlegis/sapl.git
6 changed files with 61 additions and 9 deletions
@ -0,0 +1,8 @@ |
|||
{% extends 'crud/detail.html' %} |
|||
{% load i18n %} |
|||
{% load crispy_forms_tags %} |
|||
|
|||
{% block detail_content %} |
|||
{% crispy form %} |
|||
|
|||
{% endblock detail_content %} |
|||
@ -0,0 +1,12 @@ |
|||
{% extends 'crud/detail.html' %} |
|||
{% load i18n %} |
|||
|
|||
{% block actions %} |
|||
|
|||
{{ block.super }} |
|||
<div class="actions btn-group pull-right grid-gutter-width-right " role="group"> |
|||
<a href="{% url 'sapl.parlamentares:altera_nome_partido' object.id %}" class="btn btn-default">{% trans 'Alterar o nome do partido' %}</a> |
|||
</div> |
|||
|
|||
|
|||
{% endblock actions %} |
|||
Loading…
Reference in new issue