summaryrefslogtreecommitdiff
path: root/chimere/templates/edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/edit.html')
-rw-r--r--chimere/templates/edit.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/chimere/templates/edit.html b/chimere/templates/edit.html
index 6fc25b9..0e1f6d7 100644
--- a/chimere/templates/edit.html
+++ b/chimere/templates/edit.html
@@ -15,18 +15,18 @@
{{ form.name }}
</div>
<div class="fieldWrapper">
- <label for="id_subcategory">{% trans "Category" %} *</label>
- {{ form.subcategory.errors }}
- <select name='subcategory' id='subcategory'>
- <option value="">---------</option>
- {% for cat_subcat in sub_categories %}
- <optgroup label="{{cat_subcat.0.name}}">
- {% for sub_category in cat_subcat.1 %}
- <option value='{{sub_category.id}}'{% ifequal sub_category.id current_category %} selected='selected'{% endifequal %}>
- {% trans sub_category.name %}
- </option>{% endfor %}
- </optgroup>{% endfor %}
- </select>
+ <label for="id_subcategory">{% trans "Category" %} *</label>
+ {{ form.subcategory.errors }}
+ <select name='subcategory' id='subcategory'>
+ <option value="">---------</option>
+ {% for cat_subcat in sub_categories %}
+ <optgroup label="{{cat_subcat.0.name}}">
+ {% for sub_category in cat_subcat.1 %}
+ <option value='{{sub_category.id}}'{% ifequal sub_category.id current_category %} selected='selected'{% endifequal %}>
+ {% trans sub_category.name %}
+ </option>{% endfor %}
+ </optgroup>{% endfor %}
+ </select>
</div>
<div class="fieldWrapper">
<label for="id_point">{% trans "Point"%} *</label>