## -*- 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()"> <%def name="menu_bar_nav()"> ${self.menu_items(active='gists')} <%def name="main()">
${h.secure_form(h.route_path('gists_create'), id='eform', request=request)}
${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 gist file...'))} ${h.dropdownmenu('mimetype','plain',[('plain',_('plain'))],enable_filter=True)}
${h.submit('create',_('Create Gist'),class_="btn")}
${_('Private Gist')} ${_('Public Gist')}
${h.end_form()}