diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-11-18 03:24:59 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-11-18 03:24:59 +0100 |
| commit | a4a12087e7965f0a74b2f903afac6c5aec224b8b (patch) | |
| tree | 3f34cb9cf935d1c37fbfe1964d35aefa874b7688 /chimere/templates/edit.html | |
| parent | f32a730b1aef77aa4705c43f120e62192b5db8bb (diff) | |
| download | Chimère-a4a12087e7965f0a74b2f903afac6c5aec224b8b.tar.bz2 Chimère-a4a12087e7965f0a74b2f903afac6c5aec224b8b.zip | |
Integrate bsmSelect widget and jQuery library
Diffstat (limited to 'chimere/templates/edit.html')
| -rw-r--r-- | chimere/templates/edit.html | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/chimere/templates/edit.html b/chimere/templates/edit.html index 0e1f6d7..130ead6 100644 --- a/chimere/templates/edit.html +++ b/chimere/templates/edit.html @@ -15,18 +15,9 @@ {{ 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 "Categories" %} *</label> + {{ form.categories.errors }} + {{ form.categories }} </div> <div class="fieldWrapper"> <label for="id_point">{% trans "Point"%} *</label> |
