Browse Source

adicionando help text nas perguntas

stable/1.0
Felipe Vieira 13 years ago
parent
commit
02fa969cd8
  1. 14
      sigi/templates/diagnosticos/diagnosticos_categorias_form.html

14
sigi/templates/diagnosticos/diagnosticos_categorias_form.html

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

Loading…
Cancel
Save