diff pylons_app/templates/index.html @ 186:556473ba0399

fixed menu in home page, and added login html with forms that validates username and password.
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 22 May 2010 01:32:30 +0200
parents a72fb7d330bd
children 66b20f525750
line wrap: on
line diff
--- a/pylons_app/templates/index.html	Sat May 22 00:51:49 2010 +0200
+++ b/pylons_app/templates/index.html	Sat May 22 01:32:30 2010 +0200
@@ -10,10 +10,7 @@
 	${c.repos_prefix} Mercurial Repositories
 </%def>
 <%def name="page_nav()">
-	<ul class="page-nav">
-		<li class="current">${_('Home')}</li>
-		<li>${h.link_to(u'Admin',h.url('admin_home'))}</li>
-	</ul>
+	${self.menu('home')}
 </%def>
 <%def name="main()">
 	<%def name="get_sort(name)">