mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
8 years ago
7 changed files with 44 additions and 6 deletions
@ -0,0 +1,14 @@ |
|||||
|
{% extends "crud/detail.html" %} |
||||
|
{% load i18n %} |
||||
|
{% load crispy_forms_tags %} |
||||
|
|
||||
|
|
||||
|
{% block extra_actions %} |
||||
|
{% if 'parlamentares.can_vote' in request.user.get_all_permissions %} |
||||
|
<div class="actions btn-group btn-group-sm" role="group"> |
||||
|
<a href="{% url 'sapl.painel:voto_individual' object.pk %}" class="btn btn-default"> |
||||
|
Votar Matéria |
||||
|
</a> |
||||
|
</div> |
||||
|
{% endif %} |
||||
|
{% endblock extra_actions %} |
Loading…
Reference in new issue