|
@ -21,10 +21,16 @@ |
|
|
<form id="diagnostico" action="." method="post"> |
|
|
<form id="diagnostico" action="." method="post"> |
|
|
{% for field in form %} |
|
|
{% for field in form %} |
|
|
<div data-role="fieldcontain" id="{{ field.name }}"> |
|
|
<div data-role="fieldcontain" id="{{ field.name }}"> |
|
|
<label for="{{ field.name }}">{{ field.label }}</label> |
|
|
<label for="{{ field.name }}"> |
|
|
{{ field }} |
|
|
{% if field.help_text %} |
|
|
<span class="errors"></span> |
|
|
{{ field.label }} ({{ field.help_text }}) |
|
|
</div> |
|
|
{% else %} |
|
|
|
|
|
{{ field.label }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</label> |
|
|
|
|
|
{{ field }} |
|
|
|
|
|
<span class="errors"></span> |
|
|
|
|
|
</div> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|