## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Edit Gist')} · ${c.gist.gist_access_id} %if c.rhodecode_name: · ${c.rhodecode_name} %endif <%def name="js_extra()"> <%def name="css_extra()"> <%def name="breadcrumbs_links()"> ${_('Edit Gist')} · ${c.gist.gist_access_id} <%def name="page_nav()"> ${self.menu('gists')} <%def name="main()">
${self.breadcrumbs()}
${h.form(h.url('edit_gist', gist_id=c.gist.gist_access_id), method='post', id='eform')}
gravatar
${h.select('lifetime', '0', c.lifetime_options)} %if c.gist.gist_expires == -1: ${_('Expires')}: ${_('never')} %else: ${_('Expires')}: ${h.age(h.time_to_datetime(c.gist.gist_expires))} %endif
% for cnt, file in enumerate(c.files):

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