## -*- coding: utf-8 -*- ${next.title()} ## ${self.css()} ${self.js()}
${next.main()}

mercurial

### MAKO DEFS ### <%def name="page_nav()"> ${self.menu()} <%def name="menu(current)"> <% def is_current(selected): if selected == current: return 'class=current' %> %if current not in ['home','admin']: %else: %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