aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/edit_project.html
diff options
context:
space:
mode:
authorA.Avenel <avenel.alexandre@gmail.com>2011-11-02 14:36:16 +0100
committerA.Avenel <avenel.alexandre@gmail.com>2011-11-02 14:36:16 +0100
commit66bd6268fad3b9e50dab568a12dee9ef0eece24d (patch)
tree0e3ca6ef8d99b8aefea3d548764cf3ff5a10361b /budget/templates/edit_project.html
parent94ab8fbcc35969f7b659bd1e7810074cd7f51fb4 (diff)
parent0fe49c13d5512a2a172c47f3497c0442d909a040 (diff)
downloadihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.zip
ihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.tar.gz
ihatemoney-mirror-66bd6268fad3b9e50dab568a12dee9ef0eece24d.tar.bz2
Merge remote branches 'upstream/master' and 'origin/master'
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">