<%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Files Edit') % c.repo_name} · ${c.rhodecode_name} <%def name="js_extra()"> <%def name="css_extra()"> <%def name="page_nav()"> ${self.menu('repositories')} <%def name="breadcrumbs_links()"> ${_('Edit file')} @ ${h.show_id(c.cs)} <%def name="main()"> ${self.repo_context_bar('files')}
${self.breadcrumbs()}

${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cs.revision,c.file.path)}

${h.form(h.url.current(),method='post',id='eform')}
${h.link_to("r%s:%s" % (c.file.changeset.revision,h.short_id(c.file.changeset.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=c.file.changeset.raw_id))}
${h.format_byte_size(c.file.size,binary=True)}
${c.file.mimetype}
${h.link_to(_('Show annotation'),h.url('files_annotate_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")} ${h.link_to(_('Show as raw'),h.url('files_raw_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")} ${h.link_to(_('Download as raw'),h.url('files_rawfile_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")} % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name): % if not c.file.is_binary: ${h.link_to(_('Source'),h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path),class_="ui-btn")} % endif % endif
${h.select('set_mode','plain',[('plain',_('plain'))])}

                
                
${_('Commit message')}
${h.submit('commit',_('Commit changes'),class_="ui-btn")} ${h.reset('reset',_('Reset'),class_="ui-btn")}
${h.end_form()}