mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.6 KiB
81 lines
2.6 KiB
{% extends "base.html" %} {% load i18n %} {% load compilacao_filters %}
|
|
|
|
{% block base_content %} {# FIXME is this the best markup to use? #}
|
|
|
|
<div class="clearfix">
|
|
{% block actions %}
|
|
<dl class="sub-nav right">
|
|
<dd><a href="{% url 'ta_edit' object.pk %}" class="button">{% trans 'Editar' %}</a></dd>
|
|
<dd><a href="{% url 'ta_delete' object.pk %}" class="button alert">{% trans 'Excluir' %}</a></dd>
|
|
</dl>
|
|
{% endblock actions %}
|
|
|
|
|
|
<dl class="sub-nav left">
|
|
{% block sections_nav %}
|
|
<dd><a href="{% url 'ta_detail' object.pk %}" class="button secondary">{% trans 'Início' %}</a></dd>
|
|
<dd><a href="{% url 'ta_text' object.pk %}" class="button secondary">{% trans 'Texto' %}</a></dd>
|
|
{% endblock %}
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% block detail_content %} {# TODO replace fieldset for something semantically correct, but with similar visual grouping style #}
|
|
|
|
<fieldset>
|
|
<legend>{%trans 'Identificação Básica'%}</legend>
|
|
|
|
<div class="row">
|
|
|
|
<div class="columns large-3">
|
|
<div id="div_id_tipo" class="holder">
|
|
<label>{% verbose_name object 'tipo_ta' %}</label>
|
|
<p>{{ object.tipo_ta}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
{% if object.content_object %}
|
|
<div class="columns large-3">
|
|
<div id="div_id_tipo" class="holder">
|
|
<label>{% verbose_name object.content_object 'tipo' %}</label>
|
|
<p>{{ object.content_object.tipo}}</p>
|
|
</div>
|
|
</div>
|
|
{%endif%}
|
|
|
|
<div class="columns large-2">
|
|
<div id="div_id_numero" class="holder">
|
|
<label>{% verbose_name object 'numero' %}</label>
|
|
<p>{{ object.numero}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns large-2">
|
|
<div id="div_id_ano" class="holder">
|
|
<label>{% verbose_name object 'ano' %}</label>
|
|
<p>{{ object.ano}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns large-2">
|
|
<div id="div_id_data" class="holder">
|
|
<label>{% verbose_name object 'data' %}</label>
|
|
<p>{{ object.data}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<div class="row">
|
|
<div class="columns large-12">
|
|
<div id="div_id_ementa" class="holder">
|
|
<label>{% verbose_name object 'ementa' %}</label>
|
|
<p>{{ object.ementa|safe}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
{% endblock detail_content %} {% endblock base_content %}
|
|
|