## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%def name="title()"> ${_('Edit Gist')} · ${c.gist.gist_access_id} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> ${_('Edit Gist')} · ${c.gist.gist_access_id} <%def name="menu_bar_nav()"> ${self.menu_items(active='gists')} <%def name="main()">
${self.breadcrumbs()}
${h.secure_form(h.route_path('gist_update', gist_id=c.gist.gist_access_id), id='eform', method='POST')}
${self.gravatar(h.email_or_none(c.rhodecode_user.full_contact), 30)} ${h.dropdownmenu('lifetime', '0', c.lifetime_options)} ${h.dropdownmenu('gist_acl_level', c.gist.acl_level, c.acl_options)}
## peppercorn schema % for cnt, file in enumerate(c.files):
${h.dropdownmenu('mimetype' ,'plain',[('plain',_('plain'))],enable_filter=True, id='mimetype_'+h.FID('f',file.path))}

                      
                  
## dynamic edit box. %endfor
${h.submit('update',_('Update Gist'),class_="btn btn-success")} ${_('Cancel')}
${h.end_form()}