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.
47 lines
1.8 KiB
47 lines
1.8 KiB
{% 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 class="form-group">
|
|
<legend>Editar Numeração</legend>
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<label>Tipo Matéria*</label>
|
|
<select name="tipo_materialegislativa" class="form-control">
|
|
{% for t in tipos %}
|
|
<option value="{{t.id}}" {% if t.id == numeracao.tipo_materialegislativa_id %} selected {% endif %}>
|
|
{{t.sigla}} - {{t.descricao}}
|
|
</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<label>Número*</select>label>
|
|
<input type="text" name="numero_materialegislativa" value="{{numeracao.numero_materialegislativa}}" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label>Ano*</label>
|
|
<input type="text" name="ano_materialegislativa" value="{{numeracao.ano_materialegislativa}}" class="form-control"/>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label>Data</label>
|
|
<input type="text" name="data_materialegislativa" class="dateinput" value="{{numeracao.data_materialegislativa|date:'d/m/Y'}}" class="form-control"/>
|
|
</div>
|
|
<ul>
|
|
<br />
|
|
<input type="submit" value="Salvar" id="salvar" name="salvar" class="btn btn-primary" />
|
|
<input type="submit" value="Excluir" id="excluir" name="excluir" class="btn btn-danger" />
|
|
</form>
|
|
</fieldset>
|
|
</fieldset>
|
|
{% endblock %}
|
|
|