{{def shortcut(combo, description): return XML('
  • %s%s
  • ' % (combo, description)) }}
    {{=IMG(_src=URL('static', 'images/save_icon.png'), _alt=T('Save'))}} {{if filetype=='python':}} {{=A(SPAN(T('toggle breakpoint')), _value="breakpoint", _name="breakpoint", _onclick="return doToggleBreakpoint('%s','%s://%s%s',null);" % (filename, request.env['wsgi_url_scheme'], request.env['http_host'], URL(c='debug', f='toggle_breakpoint')), _class="button special btn btn-inverse")}} {{pass}} {{if view_link:}} {{=button(view_link, T('try view'))}} {{pass}} {{if functions or edit_controller:}}

    {{if functions:}} {{=B(T('exposes:'))}} {{=XML(b', '.join([A(f,_target="_blank", _href=URL(a=app,c=controller,f=f)).xml() for f in functions]))}} {{if editviewlinks:}}
    {{=B(T('edit views:'))}} {{=XML(b', '.join([v.xml() for v in editviewlinks]))}} {{pass}} {{pass}} {{if edit_controller:}} {{=B(T('edit controller:'))}} {{=A(request.args[2]+'.py', _class="editor_filelink", _target="_blank", _href=edit_controller)}} {{pass}}

    {{pass}}
    {{=T('restore')}} {{=T('currently saved or')}} {{=T('revert')}} {{=T('to previous version.')}}