|
@ -21,7 +21,13 @@ |
|
|
<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 }}"> |
|
|
|
|
|
{% if field.help_text %} |
|
|
|
|
|
{{ field.label }} ({{ field.help_text }}) |
|
|
|
|
|
{% else %} |
|
|
|
|
|
{{ field.label }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</label> |
|
|
{{ field }} |
|
|
{{ field }} |
|
|
<span class="errors"></span> |
|
|
<span class="errors"></span> |
|
|
</div> |
|
|
</div> |
|
|