layerindex-web/layerindex/deleteconfirm.html
Paul Eggleton 26ab9dbb28 Add ability to add, edit and delete layer notes
This allows adding an important notice to a layer e.g. "this layer is
deprecated, please use layer xyz instead". Only one layer note can be
added through the interface although the data structures allow multiple,
so notes may be added programmatically without disturbing user-added
ones.

With this change we also add a get_absolute_url() function to the
LayerItem model and change the calls to reverse() for layers to use it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-02-28 14:36:41 +00:00

35 lines
723 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - delete confirmation template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% autoescape on %}
{% block title %}OpenEmbedded metadata index - delete {{ object_type }}{% endblock %}
{% endautoescape %}
-->
{% block content %}
{% autoescape on %}
<h2>Delete {{ object_type }}</h2>
<p>Are you sure you want to delete &quot;{{ object }}&quot;?</p>
<form action="" method="post">
{% csrf_token %}
<input type="submit" value="Delete" class='btn btn-warning' />
<a href="{{ return_url }}" class='btn'>Cancel</a>
</form>
{% endautoescape %}
{% endblock %}