<%inherit file="/base/base.mako"/> <%def name="title()"> ${_('%s Files Add') % c.repo_name} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="breadcrumbs_links()"> ${_('Add new file')} @ ${h.show_id(c.commit)} ${_('Branch')}: ${c.commit.branch} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='files')} <%def name="main()">
${self.repo_page_title(c.rhodecode_db_repo)}
${self.breadcrumbs()}
${h.secure_form(h.route_path('repo_files_create_file', repo_name=c.repo_name, commit_id=c.commit.raw_id, f_path=c.f_path), id='eform', enctype="multipart/form-data", class_="form-horizontal", request=request)}
${_('Path')}:
${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.f_path)} ${_('Specify Custom Path')}
${_('Filename')}:

${_('or')} ${_('Upload File')}

${h.dropdownmenu('set_mode','plain',[('plain',_('plain'))],enable_filter=True)} ${h.dropdownmenu('line_wrap', 'off', [('on', _('on')), ('off', _('off')),])}

                    
                    
${_('Commit Message')}:
${h.reset('reset',_('Cancel'),class_="btn btn-small")} ${h.submit('commit_btn',_('Commit changes'),class_="btn btn-small btn-success")}
${h.end_form()}