diff --git a/sapl/templates/norma/normajuridica_detail.html b/sapl/templates/norma/normajuridica_detail.html new file mode 100644 index 000000000..8d6798dfb --- /dev/null +++ b/sapl/templates/norma/normajuridica_detail.html @@ -0,0 +1,30 @@ +{% extends "crud/detail.html" %} +{% load i18n common_tags%} + +{% block detail_content %} + {% for fieldset in view.layout_display %} +

{{ fieldset.legend }}

+ {% for row in fieldset.rows %} +
+ {% for column in row %} +
+
+

{{ column.verbose_name }}

+
+ {% comment %}TODO Transformar os links em URLs diretamente no CRUD{% endcomment %} + + {% if column.text|url %} + + {% elif column.verbose_name == 'Matéria' %} + + {% else %} +
{{ column.text|safe }}
+ {% endif %} +
+
+
+ {% endfor %} +
+ {% endfor %} + {% endfor %} +{% endblock detail_content %} \ No newline at end of file