annotate templates/simple_field.djhtml @ 172:5e10ea8052b5

Make form field labels bold In simple_field.djhtml
author dellsystem <ilostwaldo@gmail.com>
date Sat, 20 Oct 2012 00:30:17 -0400
parents ba51d3b7740b
children 86129d185ddb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
172
5e10ea8052b5 Make form field labels bold
dellsystem <ilostwaldo@gmail.com>
parents: 133
diff changeset
1 <strong>{{ field.label_tag }}</strong>
133
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
2 {{ field }}
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
3
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
4 {% if field.errors %}
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
5 <div class="errors">{{ field.errors }}</div>
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
6 {% endif %}
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
7
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
8 {% if field.help_text %}
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
9 <p>{{ field.help_text }}</p>
ba51d3b7740b Add ability to upload a file to create a snippet
dellsystem <ilostwaldo@gmail.com>
parents:
diff changeset
10 {% endif %}