From 4b08af56f8c1e6bb25365a5bc691c5bdf3156458 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Tue, 9 Aug 2011 17:29:44 +0200 Subject: Do not redirect users to the creation form when they are trying to log in. Fixes #9 --- budget/templates/authenticate.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'budget/templates') 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 @@

{{ ", ".join(errors) }}

{% endfor %} +{% if create_project %} +

The project you are trying to access do not exist, do you want +to create it? +

+{% endif %}
{{ form.hidden_tag() }} -- cgit v1.1