%! def inherit(context): if context.get('use_panels'): if context.get('webapp'): webapp = context.get('webapp') else: webapp = 'galaxy' return '/webapps/%s/base_panels.mako' % webapp else: return '/base.mako' %> <%inherit file="${inherit(context)}"/> <% _=n_ %> <%def name="init()"> <% self.has_left_panel=False self.has_right_panel=False self.active_view=active_view self.message_box_visible=False %> %def> <%def name="title()">${form.title}%def> <%def name="javascripts()"> ${parent.javascripts()} ${h.js("jquery.autocomplete")} %def> <%def name="stylesheets()"> ${parent.stylesheets()} ${h.css("autocomplete_tagging")} %def> <%def name="center_panel()"> ${render_form( )} %def> <%def name="body()"> ${render_form( )} %def> <%def name="render_form()"> %if header: ${header} %endif