aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/edit_project.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/edit_project.html')
-rw-r--r--budget/templates/edit_project.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/budget/templates/edit_project.html b/budget/templates/edit_project.html
index 0349fe7..e84ad97 100644
--- a/budget/templates/edit_project.html
+++ b/budget/templates/edit_project.html
@@ -1,5 +1,12 @@
{% extends "layout.html" %}
+{% block js %}
+ $('#delete-project').click(function ()
+ {
+ $(this).html("<a style='color:red; ' href='{{ url_for('.remove_project') }}' >{{_("you sure?")}}</a>");
+ });
+{% endblock %}
+
{% block content %}
<h2>{{ _("Edit this project") }}</h2>
<form method="post">