{{extend 'layout.html'}} {{ def shortcut(combo, description): return XML('
  • %s %s
  • ' % (combo, description)) }} {{if TEXT_EDITOR == 'amy':}} {{include 'default/amy_ajax.html'}} {{else:}} {{pass}} {{block sectionclass}}edit{{end}}

    {{=T('Editing file "%s"',filename)}}

    {{if functions:}}

    {{=B(T('exposes:'))}}{{=XML(', '.join([A(f,_href=URL(a=app,c=controller,f=f)).xml() for f in functions]))}} {{if editviewlinks:}}
    {{=B(T('edit views:'))}} {{=XML(', '.join([v.xml() for v in editviewlinks]))}} {{pass}}

    {{pass}}

    {{=button(URL('design',args=request.args[0]), T('back'))}} {{if edit_controller:}} {{=button(edit_controller, T('edit controller'))}} {{pass}} {{if view_link:}} {{=button(view_link, T('try view'))}} {{pass}} {{if request.args[1]=='models':}} {{=T('online designer')}} {{pass}} {{=T('docs')}}

    {{=IMG(_src=URL('static', 'images/save_icon.png'), _alt=T('Save'))}} {{=T('Saved file hash:')}} {{=T('Last saved on:')}} {{if TEXT_EDITOR=='amy':}} {{else:}} {{pass}} {{=T('currently saved or')}} {{=T('to previous version.')}}
    {{if filetype=='html':}}

    Key bindings for ZenCoding Plugin

    {{else:}}

    Key bindings

    {{pass}}