<%inherit file="/base/base.mako"/> <%def name="title()"> ${_('%s Files Delete') % 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()"> ${_('Delete file')} @ ${h.show_id(c.commit)} <%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.url.current(),method='post',class_="form-horizontal")}
${_('Path')}:
${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.f_path)}
%if c.file.is_binary: ${_('Binary file (%s)') % c.file.mimetype} %else: %if c.file.size < c.cut_off_limit: ${h.pygmentize(c.file,linenos=True,anchorlinenos=False,cssclass="code-highlight")} %else: ${_('File is too big to display')} ${h.link_to(_('Show as raw'), h.url('files_raw_home',repo_name=c.repo_name,revision=c.commit.raw_id,f_path=c.f_path))} %endif %endif
${_('Commit Message')}:
${h.reset('reset',_('Cancel'),class_="btn btn-small btn-danger")} ${h.submit('commit',_('Delete File'),class_="btn btn-small btn-danger-action")}
${h.end_form()}