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.
29 lines
708 B
29 lines
708 B
{% extends "crud/detail.html" %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% block detail_content %}
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
|
|
{% for e in expedientes %}
|
|
<fieldset class="form-group">
|
|
<legend>{{e.tipo}}</legend>
|
|
<input type="hidden" name="tipo" id="tipo" value="{{e.tipo.id}}" class="form-control"/>
|
|
<textarea rows="5" cols="50" name="conteudo" id="conteudo" class="form-control">{{e.conteudo}}</textarea>
|
|
<br />
|
|
</fieldset>
|
|
{% endfor %}
|
|
|
|
<br />
|
|
<input type="submit" value="Salvar" class="btn btn-primary"/>
|
|
</form>
|
|
|
|
{% endblock detail_content %}
|
|
<!-- Texto RICO -->
|
|
{% block extra_js %}
|
|
<script language="JavaScript">
|
|
initTinymce(null);
|
|
</script>
|
|
{% endblock %}
|
|
|