diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-09 21:21:37 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-09 21:21:37 +0200 |
| commit | ef353d643c274d19e7816e9cfa436e38f1d1edea (patch) | |
| tree | ce88603d11ed7b10015677db1ce97ad3cf23ec4e /budget/templates/home.html | |
| parent | 45dc6edacbc9cb771fd038cdc719fd953c1a6771 (diff) | |
| download | ihatemoney-mirror-ef353d643c274d19e7816e9cfa436e38f1d1edea.zip ihatemoney-mirror-ef353d643c274d19e7816e9cfa436e38f1d1edea.tar.gz ihatemoney-mirror-ef353d643c274d19e7816e9cfa436e38f1d1edea.tar.bz2 | |
Refactor the application to use blueprints.
This allows to isolate some behavior in the context of the web application so
the API and the web application can behave in different ways.
Diffstat (limited to 'budget/templates/home.html')
| -rw-r--r-- | budget/templates/home.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/templates/home.html b/budget/templates/home.html index 1b77cbd..ceb3b57 100644 --- a/budget/templates/home.html +++ b/budget/templates/home.html @@ -7,7 +7,7 @@ <div id="header"> <div class="slide"> <h1><span>Manage your shared <br>expenses, easily</span></h1> - <a href="{{ url_for("demo") }}" class="about_link">Try out the demo</a> + <a href="{{ url_for(".demo") }}" class="about_link">Try out the demo</a> </div> <div class="additional-content"> <p>You're sharing a house?<br /> Going on holidays with friends?<br /> Simply sharing money with others? <br /><strong>We can help!</strong></p> @@ -22,14 +22,14 @@ <div class="row"> <div class="span8 columns"> - <form action="{{ url_for('authenticate') }}" method="post"> + <form action="{{ url_for(".authenticate") }}" method="post"> <h3>Log to an existing project...</h3> {{ forms.authenticate(auth_form, home=True) }} <button class="btn">log in</button> </form> </div> <div class="span8 columns"> - <form class="create" action="{{ url_for('create_project') }}" method="post"> + <form class="create" action="{{ url_for(".create_project") }}" method="post"> <h3>...or create a new one</h3> {{ forms.create_project(project_form, home=True) }} <button class="btn">let's get started</button> |
