## -*- coding: utf-8 -*- ${next.title()} ##For future use yui reset for cross browser compatability. ## ${self.css()} ${self.js()}
### MAKO DEFS ### <%def name="page_nav()"> ${self.menu()} ${self.submenu()} <%def name="menu(current)"> <% def is_current(selected): if selected == current: return "class='current'" %> %if current not in ['home','admin']: ##regular menu %else: ##Root menu %endif
<%def name="submenu(current=None)"> <% def is_current(selected): if selected == current: return "class='current_submenu'" %> %if current != None:

%endif <%def name="css()"> <%def name="js()"> <%def name="get_form_error(element)"> %if hasattr(c,'form_errors') and type(c.form_errors) == dict: %if c.form_errors.get(element,False): ${c.form_errors.get(element,'')} %endif %endif