From ea136b506b20ec3856f9c32832e461cbdd944648 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 30 Jul 2011 15:47:51 +0200 Subject: List existing sessions on the home. Also factorize the code to display errors in forms. --- budget/templates/home.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'budget/templates/home.html') diff --git a/budget/templates/home.html b/budget/templates/home.html index 7d4dc32..7a0cafc 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -2,16 +2,23 @@ {% block content %}

Welcome on the budget manager

- -
-

Log to an existing project...

- - {{ auth_form.hidden_tag() }} - -

{{ auth_form.id.label }}
{{ auth_form.id }}

-

{{ auth_form.password.label }}
{{ auth_form.password }}

-

{{ auth_form.submit }}

-
+
+
+

Log to an existing project...

+ + {{ auth_form.hidden_tag() }} + +

{{ auth_form.id.label }}
{{ auth_form.id }}

+

{{ auth_form.password.label }}
{{ auth_form.password }}

+

{{ auth_form.submit }}

+
+

Recently visisted projects

+ +

...or create a new one

-- cgit v1.1