diff --git a/pylons_app/templates/admin/admin.html b/pylons_app/templates/admin/admin.html --- a/pylons_app/templates/admin/admin.html +++ b/pylons_app/templates/admin/admin.html @@ -1,23 +1,12 @@ ## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> - <%def name="get_form_error(element)"> - %if hasattr(c,'form_errors'): - %if type(c.form_errors) == dict: - %if c.form_errors.get(element,False): -
- %endif - %endif - %endif - %def> + <%def name="title()"> ${_('Repository managment')} %def> <%def name="breadcrumbs()"> ${h.link_to(u'Admin',h.url('admin_home'))} - / - + / %def> <%def name="page_nav()">${_('Username')} | -${h.text('username')} | -${get_form_error('username')} | -
${_('Password')} | -${h.password('password')} | -${get_form_error('password')} | -
- | ${h.submit('login','login')} | -