diff --git a/budget/templates/home.html b/budget/templates/home.html index 21de4f1..c956ee3 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -1,21 +1,25 @@ {% extends "layout.html" %} +{% block sidebar %} +{% include "recent_projects.html" %} +{% endblock %} + {% block content %}

Welcome on the budget manager

-
-
-

Log to an existing project...

- {{ forms.authenticate(auth_form) }} -
- {% include "recent_projects.html" %} -
- -
-
-

...or create a new one

- {{ forms.create_project(project_form) }}
- +
+
+
+

Log to an existing project...

+ {{ forms.authenticate(auth_form) }} +
+
+
+
+

...or create a new one

+ {{ forms.create_project(project_form) }}
+ +
{% endblock %} diff --git a/budget/templates/recent_projects.html b/budget/templates/recent_projects.html index 9769c59..91e1dd6 100644 --- a/budget/templates/recent_projects.html +++ b/budget/templates/recent_projects.html @@ -1,5 +1,5 @@ {% if 'projects' in session %} -

Recently visited projects

+

Your projects