## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%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.route_path('gists_create'), id='eform', method='POST')}
${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()}