## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('New Gist')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> ${_('New Gist')} <%def name="menu_bar_nav()"> ${self.menu_items(active='gists')} <%def name="main()">
${self.breadcrumbs()}
${h.secure_form(h.url('gists'), method='post',id='eform')}
${self.gravatar(c.rhodecode_user.email, 30)} ${h.text('gistid', placeholder=_('Auto generated'))} ${h.dropdownmenu('lifetime', '', c.lifetime_options)} ${h.dropdownmenu('gist_acl_level', '', c.acl_options)}
${h.text('filename', size=30, placeholder=_('name this file...'))} ${h.dropdownmenu('mimetype','plain',[('plain',_('plain'))],enable_filter=True)}
${h.submit('private',_('Create Private Gist'),class_="btn")} ${h.submit('public',_('Create Public Gist'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
${h.end_form()}