Browse Source

Fix #2213 (#2225)

pull/2234/head
Victor Fabre 6 years ago
committed by Edward
parent
commit
0cea18578c
  1. 10
      sapl/templates/materia/materialegislativa_detail.html

10
sapl/templates/materia/materialegislativa_detail.html

@ -8,3 +8,13 @@
</div>
{% endif %}
{% endblock sub_actions %}
{% block detail_content %}
{{ block.super }}
{% if object.normajuridica_set.last %}
<p class="control-label">&emsp; Norma Jurídica Relacionada</p>
<div class="actions btn-group btn-group-sm" role="group">
&emsp;&emsp;<a href="{% url 'sapl.norma:normajuridica_detail' object.normajuridica_set.last.id %}">
{{ object.normajuridica_set.last }}</a>
</div>
{% endif %}
{% endblock detail_content %}

Loading…
Cancel
Save