Browse Source

adicionando help text nas perguntas

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

8
sigi/templates/diagnosticos/diagnosticos_categorias_form.html

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

Loading…
Cancel
Save