{% extends "materia/materialegislativa_detail.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block actions %} {% endblock %} {% block detail_content %} <fieldset> <legend>Matéria Legislativa</legend> {% include "materia/resumo_detail_materia.html" %} <fieldset> <legend>Matérias Anexadas</legend> <table class="table table-striped table-bordered"> <thead class="thead-default"> <tr> <th>Matéria Anexada</th> <th>Data Anexação</th> <th>Data Desanexação</th> </tr> </thead> {% for a in anexadas %} <tr> <td><a href="{% url 'materia_anexada_edit' object.id a.id %}">{{a.materia_anexada.tipo.sigla}} {{a.materia_anexada.numero}}/{{a.materia_anexada.ano}}</a></td> <td>{{a.data_anexacao|date:"d/m/Y"}}</td> <td>{{a.data_desanexacao|date:"d/m/Y"}}</td> </tr> {% endfor %} </table> </fieldset> <br /><br /> {% crispy form %} </fieldset> {% endblock %}