source: consulta_publica/procesamiento/templates/procesamiento.select.html @ bf6bc0b

baseconstituyenteestudiantesgeneralplan_patriasala
Last change on this file since bf6bc0b was 6abfabc, checked in by rudmanmrrod <rudman22@…>, 7 años ago

Implementada la transformacion de respuestas a texto plano por Ajax

  • Propiedad mode establecida a 100644
File size: 2.3 KB
Línea 
1{% extends 'procesamiento.base.template.html' %}
2{% load staticfiles %}
3{% block title %} Gestión de Procesamientos {% endblock %}
4{% block contenido %}
5    <h1 class="text-center">Gestión de Procesamiento</h1><hr>
6    <div class="row" style="padding-bottom: 50px;">
7        <div class="col-md-4 col-md-offset-2">
8            <a type="button" class="btn btn-success init_button" href="{% url 'procesamiento_create' pk %}">Crear Perfil de Procesamiento</a>
9        </div>
10        <div class="col-md-4">
11            <a type="button" class="btn btn-primary init_button" href="{% url 'procesamiento_list' pk %}">Listar Perfiles de Procesamiento</a>
12        </div>
13    </div>
14    <div class="row" style="padding-bottom: 50px;">
15        <div class="col-md-6 col-md-offset-4">
16            <a type="button" class="btn btn-info init_button" href="{% url 'procesamiento_index' %}">Regresar</a>
17        </div>
18    </div>
19    {% if procesamiento %}
20        <form action="" role="form" class="form form-horizontal validate-form" method="post" autocomplete="off">
21            {% csrf_token %}
22            <div class="row text-center">
23                <h1>Seleccione un Procesamiento</h1><hr>
24                <div class="col-md-12 col-sm-12 col-xs-12">
25                    <div class="form-group {% if form.consultas.errors %}has-error{% endif %}">
26                        <label class="col-md-3 col-xs-3 col-sm-3 control-label" for="{{ form.procesamiento.auto_id }}">
27                            {{ form.procesamiento.label }}
28                        </label>
29                        <div class="col-md-4 col-xs-4 col-sm-4">
30                            {{ form.procesamiento }}
31                            {% include 'base.forms.errors.html' with form_errors=form.procesamiento.errors col_title_error='col-sm-2' col_msg_error='col-sm-10' %}
32                        </div>
33                        <div class="col-sm-1"><i class="ion ion-ios-medical item-requerido"></i></div>
34                    </div>
35                </div>
36                 <div class="col-md-12 col-sm-12 col-xs-12">
37                    <button type="submit" class="btn btn-success">Ejecutar</button>
38                 </div>
39            </div>
40        </form>
41    {% endif %}
42{% endblock %}
43{% block extraJs%}
44<script>
45$('.form').on('submit', function(event){
46    event.preventDefault();
47    createPreprocess(this);
48});
49</script>
50{% endblock %}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.