diff options
| author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2010-02-21 15:42:51 +0000 |
|---|---|---|
| committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2010-02-21 15:42:51 +0000 |
| commit | f7fd3f884d4b1571efa122ddab2c7d4d0b925518 (patch) | |
| tree | 232b18d00a5ad11eb3b323cb4d81afb574e92e2b /templates/edit.html | |
| parent | 9e253135138cf65e766959c094ad1182902bd363 (diff) | |
| download | Chimère-f7fd3f884d4b1571efa122ddab2c7d4d0b925518.tar.bz2 Chimère-f7fd3f884d4b1571efa122ddab2c7d4d0b925518.zip | |
Reorganize the project folder #76
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@59 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'templates/edit.html')
| -rw-r--r-- | templates/edit.html | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/templates/edit.html b/templates/edit.html deleted file mode 100644 index 1378a63..0000000 --- a/templates/edit.html +++ /dev/null @@ -1,52 +0,0 @@ -{% extends "base_user.html" %} -{% load i18n %} -{% block message_map %}{% endblock %} -{% block message_edit%}<div id='content'>{{block.super}}{% endblock %} - -{% block content %}{{ block.super }} -{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} -<fieldset class='edit'> -<legend>{% trans "Add a new site" %}</legend> -<p>* {% trans "indicates a mandatory field" %}</p> -<form enctype="multipart/form-data" method='post' action='/{{extra_url}}edit/'> -<div class="fieldWrapper"> - <label for="id_name">{% trans "Site name"%} *</label> - {{ form.name.errors }} - {{ 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> -</div> -<div class="fieldWrapper"> - <label for="id_point">{% trans "Point"%} *</label> - {%if form.point.errors %}<ul class="errorlist"><li>{% trans "Select a location for this new site" %}</li></ul>{%endif%} - {{form.point}} -</div> -<div class="fieldWrapper"> - <label for="id_picture">{% trans "Image" %}</label> - {{ form.picture.errors }} - {{ form.picture }} -</div> -{%for field in form%}{%for property in properties%}{%ifequal field.name property%} -<div class="fieldWrapper"> - <label for="id_{{field.name}}">{% trans field.label %}</label> - {{ field.errors }} - {{ field }} -</div> -{%endifequal%}{%endfor%}{%endfor%} -<p><input type='submit' onclick='saveExtent();' value="{% trans 'Propose'%}"/></p> -</form> -</fieldset> -</div> -{% endblock %} |
