diff --git a/youmap/templates/chickpea/category_form.html b/youmap/templates/chickpea/category_form.html index 11d1b836e503d63fddf9ab1175991da128a8a30f..f0b3cf6d9aaab6feba7c1252748d48e54fe7e383 100644 --- a/youmap/templates/chickpea/category_form.html +++ b/youmap/templates/chickpea/category_form.html @@ -22,4 +22,7 @@ <small class="help-text">{{ form.preset.help_text }}</small> {{ form.map }} <input type="submit" class="button" /> + {% if delete_url %} + <a href="{{ delete_url }}" id="delete_category_button" >Delete</a> + {% endif %} </form> \ No newline at end of file