Skip to content
Snippets Groups Projects
Commit 29847168 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev Committed by Dmitriy Zaporozhets
Browse files

Admin rename team page is fixed

parent 845f1465
No related branches found
No related tags found
2 merge requests!2940Expanding repos and hooks paths in settings,!2746New feature: Teams
%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
Loading
Loading
@@ -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"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment