Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add missing template to delete objects with generic views
Roland Geider36d4085180f9
diff --git a/manager/templates/delete.html b/manager/templates/delete.htmlnew file mode 100644index 000000000..572418bd0--- /dev/null+++ b/manager/templates/delete.html@@ -0,0 +1,32 @@+{% extends "base.html" %}+{% load i18n %}+{% load staticfiles %}++<!--+ Title+-->+{% block title %}{{title}}{% endblock %}+++<!--+ Main Content+-->+{% block content %}+<h2>{{title}}</h2>+++<form action="{{form_action}}"+ method="post"+ class="ym-form">+ {% csrf_token %}+ <p>{% trans "Are you sure you want to delete this? This action cannot be undone." %}</p>+ <p>{{ delete_message }}</p>+ <p><input type="submit" value="{% trans 'Delete' %}"></p>+</form>+{% endblock %}+++<!--+ Side bar+-->+{% block sidebar %}{{sidebar|safe}}{% endblock %}