From 2984716870a26b704a04e4ac4e72bfbc05750f73 Mon Sep 17 00:00:00 2001 From: Andrey Kumanyaev Date: Sun, 20 Jan 2013 12:08:46 +0400 Subject: [PATCH] Admin rename team page is fixed --- app/views/admin/teams/edit.html.haml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/views/admin/teams/edit.html.haml b/app/views/admin/teams/edit.html.haml index 15ec267..b2499ef 100644 --- a/app/views/admin/teams/edit.html.haml +++ b/app/views/admin/teams/edit.html.haml @@ -1,6 +1,6 @@ %h3.page_title Rename Team %hr -= form_for [:admin, @team] do |f| += form_for @team, url: admin_team_path(@team), method: :put do |f| - if @team.errors.any? .alert-message.block-message.error %span= @team.errors.full_messages.first @@ -10,18 +10,13 @@ .input = f.text_field :name, placeholder: "Example Team", class: "xxlarge" - - .clearfix.team_name_holder = f.label :path do %span.cred Team path is .input = f.text_field :path, placeholder: "example-team", class: "xxlarge danger" %ul.cred - %li Changing team path can have unintended side effects. - %li Renaming team path will rename directory for all related projects %li It will change web url for access team and team projects. - %li It will change the git path to repositories under this team. .form-actions = f.submit 'Rename team', class: "btn danger" -- libgit2 0.21.2