summaryrefslogtreecommitdiff
path: root/src/templates/form.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-05 15:57:24 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-05 15:57:24 +0200
commit9be00e843656f203df5361c7b12503b8d59592aa (patch)
treead4e78943c7f0bc1a5c89a2c451c723e2d06a6ff /src/templates/form.html
parent7a59224ad54ff5f5fe28c187c1d52fe5a1942e90 (diff)
simplify creation process
Diffstat (limited to 'src/templates/form.html')
-rw-r--r--src/templates/form.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/templates/form.html b/src/templates/form.html
index 077cd53..2e1e243 100644
--- a/src/templates/form.html
+++ b/src/templates/form.html
@@ -18,10 +18,9 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
- <li class="links {% if field.field.required %}required{% endif %}" {{ field.row_attrs }}>
+ <li class="links {% if field.field.required %}required{% endif %}" {{ field.row_attrs }} style="margin-bottom: 10px;">
{{ field.errors }}
- <label for="id_{{ field.html_name }}" class="fieldlabel">{{ field.label }}
- {% if field.field.required %}<b>*</b>{% endif %}</label>
+ <label for="id_{{ field.html_name }}" class="fieldlabel" style="border-bottom: 1px solid #CECECE;"><em>{{ field.label }}{% if field.field.required %}<b>*</b>{% endif %}</em></label>
<div class="fieldinput">{{ field }}</div>
</li>
{% endif %}