Admin rename team page is fixed
This commit is contained in:
parent
845f146518
commit
2984716870
1 changed files with 1 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
%h3.page_title Rename Team
|
%h3.page_title Rename Team
|
||||||
%hr
|
%hr
|
||||||
= form_for [:admin, @team] do |f|
|
= form_for @team, url: admin_team_path(@team), method: :put do |f|
|
||||||
- if @team.errors.any?
|
- if @team.errors.any?
|
||||||
.alert-message.block-message.error
|
.alert-message.block-message.error
|
||||||
%span= @team.errors.full_messages.first
|
%span= @team.errors.full_messages.first
|
||||||
|
@ -10,18 +10,13 @@
|
||||||
.input
|
.input
|
||||||
= f.text_field :name, placeholder: "Example Team", class: "xxlarge"
|
= f.text_field :name, placeholder: "Example Team", class: "xxlarge"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.clearfix.team_name_holder
|
.clearfix.team_name_holder
|
||||||
= f.label :path do
|
= f.label :path do
|
||||||
%span.cred Team path is
|
%span.cred Team path is
|
||||||
.input
|
.input
|
||||||
= f.text_field :path, placeholder: "example-team", class: "xxlarge danger"
|
= f.text_field :path, placeholder: "example-team", class: "xxlarge danger"
|
||||||
%ul.cred
|
%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 web url for access team and team projects.
|
||||||
%li It will change the git path to repositories under this team.
|
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Rename team', class: "btn danger"
|
= f.submit 'Rename team', class: "btn danger"
|
||||||
|
|
Loading…
Add table
Reference in a new issue