diff options
| author | 0livd <github@destras.fr> | 2017-09-04 15:44:20 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-09-04 15:44:20 +0200 |
| commit | 7a918c93498c2eb4f85b3b0198c03f3c2edf51fe (patch) | |
| tree | 885fe498c3f27acb8fc73f5d37765c7e42669762 /ihatemoney/templates/authenticate.html | |
| parent | ee1ecbf3e747daa711744a05027a667a302cc7e9 (diff) | |
| download | ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.zip ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.gz ihatemoney-mirror-7a918c93498c2eb4f85b3b0198c03f3c2edf51fe.tar.bz2 | |
Enhance the dashboard. (#262)
* Update to a more flexible admin authentication
* Admin can now access any project
* Add delete and edit options in the dashboard
* Add a link to the dashboard in the nav bar
This is a rework of the changes proposed by @Olivd, so they can apply on top of
the latest master without trouble. All credit goes to him for the code.
Diffstat (limited to 'ihatemoney/templates/authenticate.html')
| -rw-r--r-- | ihatemoney/templates/authenticate.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ihatemoney/templates/authenticate.html b/ihatemoney/templates/authenticate.html index f241c48..98914d0 100644 --- a/ihatemoney/templates/authenticate.html +++ b/ihatemoney/templates/authenticate.html @@ -7,13 +7,7 @@ to") }} <a href="{{ url_for(".create_project", project_id=create_project) }}">{{ _("create it") }}</a>{{ _("?") }} </p> {% endif %} -{% if admin_auth %} -<form class="form-horizontal" method="POST" accept-charset="utf-8"> - {{ forms.admin(form) }} -</form> -{% else %} <form class="form-horizontal" method="POST" accept-charset="utf-8"> {{ forms.authenticate(form) }} </form> -{% endif %} {% endblock %} |
