## -*- coding: utf-8; -*- <%inherit file="/master/index.mako" /> <%def name="grid_tools()"> ${parent.grid_tools()} ${h.form(url('{}.export'.format(route_prefix)), **{'@submit': 'exportingInvoices = true'})} ${h.csrf_token(request)} % if master.has_perm('export'): {{ exportingInvoices ? "Working, please wait..." : `Export ${'$'}{this.exportingInvoicesCount} Invoices` }} % endif ${h.end_form()} <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} ${parent.body()}