diff options
| author | Arnaud Bos <arnaud.tlse@gmail.com> | 2011-11-02 12:16:01 +0100 |
|---|---|---|
| committer | Arnaud Bos <arnaud.tlse@gmail.com> | 2011-11-02 12:16:01 +0100 |
| commit | f3972db96a718413b66efba1e4a0d0339222d83d (patch) | |
| tree | 310d89f5deefe53310449fe0382b3244ffed8432 /budget/templates/edit_project.html | |
| parent | 655774e4d497bdee38c266137db63947d63211ec (diff) | |
| download | ihatemoney-mirror-f3972db96a718413b66efba1e4a0d0339222d83d.zip ihatemoney-mirror-f3972db96a718413b66efba1e4a0d0339222d83d.tar.gz ihatemoney-mirror-f3972db96a718413b66efba1e4a0d0339222d83d.tar.bz2 | |
Add a way to delete a project. Fix #63
Diffstat (limited to 'budget/templates/edit_project.html')
| -rw-r--r-- | budget/templates/edit_project.html | 7 |
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"> |
