diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-09 17:29:44 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-09 23:49:44 +0200 |
| commit | 4b08af56f8c1e6bb25365a5bc691c5bdf3156458 (patch) | |
| tree | 46144f4eb1ececb379434fd58a6a54a3c45448e2 /budget/templates | |
| parent | 0e5bab13af39d2fc7073860aa05279bcf9f19e82 (diff) | |
| download | ihatemoney-mirror-4b08af56f8c1e6bb25365a5bc691c5bdf3156458.zip ihatemoney-mirror-4b08af56f8c1e6bb25365a5bc691c5bdf3156458.tar.gz ihatemoney-mirror-4b08af56f8c1e6bb25365a5bc691c5bdf3156458.tar.bz2 | |
Do not redirect users to the creation form when they are trying to log in.
Fixes #9
Diffstat (limited to 'budget/templates')
| -rw-r--r-- | budget/templates/authenticate.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/budget/templates/authenticate.html b/budget/templates/authenticate.html index 8b57c67..d4f7df6 100644 --- a/budget/templates/authenticate.html +++ b/budget/templates/authenticate.html @@ -6,6 +6,11 @@ <p class=error>{{ ", ".join(errors) }}</p> {% endfor %} +{% if create_project %} +<p class="info">The project you are trying to access do not exist, do you want +to <a href="{{ url_for("create_project", project_id=create_project) }}">create it</a>? +</p> +{% endif %} <form action="" method="POST" accept-charset="utf-8"> {{ form.hidden_tag() }} |
