summaryrefslogtreecommitdiff
path: root/chimere/templates/chimere/edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/chimere/edit.html')
-rw-r--r--chimere/templates/chimere/edit.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/chimere/templates/chimere/edit.html b/chimere/templates/chimere/edit.html
index e3507a0..e8cf323 100644
--- a/chimere/templates/chimere/edit.html
+++ b/chimere/templates/chimere/edit.html
@@ -69,10 +69,9 @@
<div class='bottomform'>
{% for field in form %}
{% for property in properties %}
- {% ifequal field.name property %}
+ {% ifequal field.name property.getNamedId %}
<div class="fieldWrapper">
- <label for="id_{{field.name}}">{% trans field.label %}</label>
- {{ field.errors }}
+ <label for="id_{{field.name}}">{% trans field.label %}{% if property.mandatory %} *{% endif %}</label>
{% if field.errors %}<div class='errors'>{{ field.errors }}</div>{% endif %}
{{ field }}
</div>