## -*- coding: utf-8; -*- <%inherit file="/master/view.mako" /> <%def name="render_form_buttons()"> % if master.has_perm('export'): ${h.form(master.get_action_url('refresh', instance), **{'@submit': 'refreshingInvoice = true'})} ${h.csrf_token(request)} {{ refreshingInvoice ? "Working, please wait..." : "Refresh Data" }} ${h.end_form()} % endif <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} ${parent.body()}