Browse Source

Merge pull request #643 from interlegis/632-esconder-botao

Fix #632 Botão 'Incluir Parlamentar' para usuário anônimo
pull/663/head
Luciano Henrique Nunes de Almeida 8 years ago
committed by GitHub
parent
commit
9b0e9642fc
  1. 4
      sapl/templates/comissoes/composicao_detail.html

4
sapl/templates/comissoes/composicao_detail.html

@ -27,5 +27,7 @@
{% endfor %} {% endfor %}
</table> </table>
<a href="{% url 'sapl.comissoes:participacao_create' composicao.pk %}" class="btn btn-primary">Incluir Parlamentar</a> {% if user.is_authenticated %}
<a href="{% url 'sapl.comissoes:participacao_create' composicao.pk %}" class="btn btn-primary">Incluir Parlamentar</a>
{% endif %}
{% endblock detail_content %} {% endblock detail_content %}

Loading…
Cancel
Save