<%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()"> <%def name="menu_bar_nav()"> ${self.menu_items(active='gists')} <%def name="main()">
${h.secure_form(h.route_path('gist_update', gist_id=c.gist.gist_access_id), id='eform', request=request)}
${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()}