From 3a4282fd75e3b3317b2b08b4aa2e6ac154310e73 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 7 Jul 2017 00:06:56 +0200 Subject: Absolute imports & some other improvements (#243) * Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI. --- ihatemoney/templates/edit_project.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ihatemoney/templates/edit_project.html (limited to 'ihatemoney/templates/edit_project.html') diff --git a/ihatemoney/templates/edit_project.html b/ihatemoney/templates/edit_project.html new file mode 100644 index 0000000..a5e85c3 --- /dev/null +++ b/ihatemoney/templates/edit_project.html @@ -0,0 +1,19 @@ +{% extends "layout.html" %} + +{% block js %} + $('#delete-project').click(function () + { + $(this).html("{{_("you sure?")}}"); + }); +{% endblock %} + +{% block content %} +

{{ _("Edit this project") }}

+
+{{ forms.edit_project(edit_form) }} +

+

{{ _("Download this project's data") }}

+
+{{ forms.export_project(export_form) }} +
+{% endblock %} -- cgit v1.1