summaryrefslogtreecommitdiff
path: root/templates/edit_fieldsets.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit_fieldsets.html')
-rw-r--r--templates/edit_fieldsets.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/edit_fieldsets.html b/templates/edit_fieldsets.html
index 76778c1..b86f3d9 100644
--- a/templates/edit_fieldsets.html
+++ b/templates/edit_fieldsets.html
@@ -20,9 +20,10 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
- <li class="links" {{ field.row_attrs }}>
+ <li class="links {% if field.field.required %}required{% endif %}" {{ field.row_attrs }}>
{{ field.errors }}
- {{ field.label_tag }}
+ <label for="id_{{ field.html_name }}">{{ field.label }}
+ {% if field.field.required %}<b>*</b>{% endif %}</label>
{{ field }}
</li>
{% endif %}