mirror of https://github.com/interlegis/sapl.git
LeandroRoberto
9 years ago
6 changed files with 104 additions and 18 deletions
@ -0,0 +1,12 @@ |
|||||
|
{% extends "sessao/sessaoplenaria_detail.html" %} |
||||
|
{% load i18n %} |
||||
|
{% load crispy_forms_tags %} |
||||
|
|
||||
|
{% block detail_content %} |
||||
|
<form method="post"> |
||||
|
{% csrf_token %} |
||||
|
{{formset}} |
||||
|
<br /> |
||||
|
<input type="submit" value="Submit" /> |
||||
|
</form> |
||||
|
{% endblock detail_content %} |
@ -0,0 +1,26 @@ |
|||||
|
{% extends "sessao/sessaoplenaria_detail.html" %} |
||||
|
{% load i18n %} |
||||
|
{% load crispy_forms_tags %} |
||||
|
|
||||
|
{% block detail_content %} |
||||
|
|
||||
|
<fieldset> |
||||
|
<legend>Editar Orador</legend> |
||||
|
<form method="POST" action=""> |
||||
|
{% csrf_token %} |
||||
|
|
||||
|
<ul class="small-block-grid-3 medium-block-grid-3 large-block-grid-3"> |
||||
|
<li>Ordem de pronunciamento</li> |
||||
|
<li>Parlamentar</li> |
||||
|
<li>URL Discurso</li> |
||||
|
</ul> |
||||
|
<ul class="small-block-grid-3 medium-block-grid-3 large-block-grid-3"> |
||||
|
<li><input type="text" id="numero_ordem" name="numero_ordem" value="{{orador.numero_ordem}}" /></li> |
||||
|
<li><input type="text" id="parlamentar" name="parlamentar" value="{{orador.parlamentar.nome_parlamentar}}" disabled /></li> |
||||
|
<li><input type="text" id="url_discurso" name="url_discurso" value="{{orador.url_discurso}}"/></li> |
||||
|
</ul> |
||||
|
<input type="submit" value="Salvar Orador" /> |
||||
|
</form> |
||||
|
</fieldset> |
||||
|
|
||||
|
{% endblock detail_content %} |
Loading…
Reference in new issue