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"> <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>

Loading…
Cancel
Save