umap/youmap/templates/chickpea/category_form.html

28 lines
966 B
HTML
Raw Normal View History

2012-12-13 11:10:45 -06:00
{% load youmap_tags %}
<form action="{{ action_url }}" method="post" id="category_edit">
{% csrf_token %}
{% for error in form.errors %}
<small class="error">{{ error }}</small>
{% endfor %}
{% foundation_field form.name %}
{% foundation_field form.description %}
{% foundation_field form.color %}
2012-12-20 11:54:57 -06:00
<div class="formbox columns twelve">
2012-12-13 11:10:45 -06:00
<div class="six columns">
{% foundation_field form.icon_class %}
</div>
<div class="six columns">
{% foundation_field form.pictogram %}
</div>
</div>
{% foundation_field form.rank %}
2012-12-20 11:54:57 -06:00
<div class="formbox">
2012-12-13 11:10:45 -06:00
<span>{{ form.preset.label }}</span>{{ form.preset }}
</div>
<small class="help-text">{{ form.preset.help_text }}</small>
{{ form.map }}
<input type="submit" class="button" />
2012-12-20 15:51:55 -06:00
{% if delete_url %}
<a href="{{ delete_url }}" id="delete_category_button" >Delete</a>
{% endif %}
2012-12-13 11:10:45 -06:00
</form>