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.
54 lines
1.9 KiB
54 lines
1.9 KiB
{% extends "base.html" %} {% load i18n %} {% load compilacao_filters %}
|
|
{% load common_tags %}
|
|
|
|
{% block base_content %} {# FIXME is this the best markup to use? #}
|
|
|
|
{% block sections_nav %}
|
|
{% endblock %}
|
|
<div class="clearfix">
|
|
{% block actions %}
|
|
<ul class="button-group right">
|
|
<li><a href="{% url 'tipo_ta_edit' object.pk %}" class="button tiny">{% trans 'Editar' %}</a></li>
|
|
<li><a href="{% url 'tipo_ta_delete' object.pk %}" class="button alert tiny">{% trans 'Excluir' %}</a></li>
|
|
</ul>
|
|
{% endblock actions %}
|
|
|
|
</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="col-md-2">
|
|
<div id="div_id_tipo" class="holder">
|
|
<label>{% field_verbose_name object 'sigla' %}</label>
|
|
<p>{{ object.sigla}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
<div id="div_id_numero" class="holder">
|
|
<label>{% field_verbose_name object 'descricao' %}</label>
|
|
<p>{{ object.descricao}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<div id="div_id_ano" class="holder">
|
|
<label>{% field_verbose_name object 'content_type' %}</label>
|
|
<p>{{ object.content_type|default:""}}</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div id="div_id_ano" class="holder">
|
|
<label>{% field_verbose_name object 'participacao_social' %}</label>
|
|
<p>{{ object.get_participacao_social_display}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
{% endblock detail_content %}
|
|
|
|
{% endblock base_content %}
|
|
|