Sistema de Apoio ao Processo Legislativo
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.
 
 
 
 
 

65 lines
2.2 KiB

{% extends "materia/materialegislativa_detail.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block actions %} {% endblock %}
{% block detail_content %}
<fieldset>
<legend>Matéria Legislativa</legend>
<ul class="small-block-grid-3 medium-block-grid-3 large-block-grid-3">
<li>Tipo: <b>{{materialegislativa.tipo.sigla}}</b></li>
<li>Número: <b>{{materialegislativa.numero}}</b></li>
<li>Ano: <b>{{materialegislativa.ano}}</b></li>
</ul>
Ementa: <b>{{materialegislativa.ementa}}</b>
<fieldset>
<legend>Editar Relator</legend>
<form method="POST">
{% csrf_token %}
<ul class='small-block-grid-1 medium-block-grid-1 large-block-grid-1'>
<li>
Localização Atual
<input type="text" name="comissao" disabled value="{{relatoria.comissao.nome}}" />
</li>
</ul>
<ul class='small-block-grid-2 medium-block-grid-2 large-block-grid-2'>
<li>
Data Designação*
<input type="text" name="data_designacao_relator" class ="dateinput" value="{{relatoria.data_designacao_relator}}" />
</li>
<li>
Data Destituição
<input type="text" name="data_destituicao_relator" class ="dateinput" value="{{relatoria.data_destituicao_relator}}" />
</li>
</ul>
<ul class='small-block-grid-2 medium-block-grid-2 large-block-grid-2'>
<li>
Parlamentar*
<select name="parlamentar">
<option value=""> ---------- </option>
{% for p in parlamentares %}
<option value="{{p.parlamentar_id}}" {% if relatoria.parlamentar_id == p.parlamentar_id %} selected {% endif %}>
{{p.parlamentar}}
</option>
{% endfor %}
</select>
</li>
<li>
Motivo Fim Relatoria
<select name="tipo_fim_relatoria">
<option value=""> ---------- </option>
{% for t in tipo_fim_relatorias %}
<option value="{{t.id}}" {% if t.id == relatoria.tipo_fim_relatoria_id %} selected {% endif %}>
{{t.descricao}}
</option>
{% endfor %}
</select>
</li>
</ul>
<input type="submit" name="salvar" value="Salvar" class="primary button"/>
<input type="submit" name="excluir" value="Excluir" class="primary button"/>
</form>
</fieldset>
</fieldset>
{% endblock %}