Add delete button

This commit is contained in:
Yohan Boniface 2012-12-20 22:51:55 +01:00
parent db2799185d
commit d328f381e9

View file

@ -22,4 +22,7 @@
<small class="help-text">{{ form.preset.help_text }}</small> <small class="help-text">{{ form.preset.help_text }}</small>
{{ form.map }} {{ form.map }}
<input type="submit" class="button" /> <input type="submit" class="button" />
{% if delete_url %}
<a href="{{ delete_url }}" id="delete_category_button" >Delete</a>
{% endif %}
</form> </form>