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 "sessao/sessaoplenaria_detail.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block detail_content %}
|
|
<fieldset class="form-group">
|
|
<legend>Mesa Diretora da Sessão</legend>
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
<br />
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<label>Composição</label>
|
|
<select multiple size="5" name="composicao_mesa" class="form-control">
|
|
{% for i in integrantes %}
|
|
<option value="{{i.parlamentar.id}}:{{i.cargo.id}}">
|
|
{{i.parlamentar.nome_parlamentar}} || {{i.cargo.descricao}}
|
|
</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
|
|
<div class="col-md-4" align="center">
|
|
<br /><br />
|
|
{% if view.get_cargos_mesa %}<input type="submit" name="Incluir" Value="Incluir" class="btn btn-primary" />{% endif %}
|
|
<br /><br />
|
|
<input type="submit" name="Excluir" Value="Excluir" class="btn btn-danger" />
|
|
</div>
|
|
{% if view.get_cargos_mesa %}
|
|
<div class="col-md-4">
|
|
<label>Parlamentare | Cargo</label>
|
|
<select name="parlamentar" id="parlamentar" class="form-control">
|
|
{% for parlamentar in view.get_candidatos_mesa %}
|
|
<option value="{{parlamentar.id}}" name="parlamentar" id="parlamentar">{{parlamentar.nome_parlamentar}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<br />
|
|
<select name="cargo" id="cargo" class="form-control">
|
|
{% for cargo in view.get_cargos_mesa %}
|
|
<option value="{{cargo.id}}" name="cargo" id="cargo">{{cargo.descricao}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
</fieldset>
|
|
{% endblock detail_content %}
|
|
|