/
create.html
51 lines (43 loc) · 1.59 KB
/
create.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends "base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load thumbnail %}
{% load bootstrap3 %}
{% load long_text_tags %}
{% block extrajs %}
{% endblock extrajs %}
{% block content %}
<div>
<h1>{% blocktrans with area=area.name %}Creando una propuesta para {{area}}{% endblocktrans %}</h1>
<!-- Featured Elections -->
<div class="contenedorDestacado fondo-blanco">
<form role="form" action="" method="post">
{% csrf_token %}
{% bootstrap_button "Wizard Mode" button_type="button" button_class="btn-primary" name="wizard_view_button" %}<br>
<div id="wizard_form" class="wizard clearfix" role="application">
{% for field in form %}
<h4> </h4>
<section>
<p class="long_text">{% long_text_tag field%}</p>
{{ field.label_tag }} <br>
{{ field }}
{{ field.errors }}
{% if field.help_text %}
<p class="help-block">{{ field.help_text|safe }}</p>
{% endif %}
</section>
{% endfor %}
</div>
<div id="classic_form">
{% bootstrap_form form %}
</div>
<div id="form_submit"class="form-actions ">
<input type="submit" class="btn btn-primary" id="Guardar" value="Guardar"/>
</div>
</form>
</div>
<!-- end mobile version -->
</div>
{% endblock content %}
{% block extrafooter %}
{% endblock extrafooter %}