Commit 2984716870a26b704a04e4ac4e72bfbc05750f73
Committed by
Dmitriy Zaporozhets
1 parent
845f1465
Exists in
master
and in
4 other branches
Admin rename team page is fixed
Showing
1 changed file
with
1 additions
and
6 deletions
Show diff stats
app/views/admin/teams/edit.html.haml
1 | 1 | %h3.page_title Rename Team |
2 | 2 | %hr |
3 | -= form_for [:admin, @team] do |f| | |
3 | += form_for @team, url: admin_team_path(@team), method: :put do |f| | |
4 | 4 | - if @team.errors.any? |
5 | 5 | .alert-message.block-message.error |
6 | 6 | %span= @team.errors.full_messages.first |
... | ... | @@ -10,18 +10,13 @@ |
10 | 10 | .input |
11 | 11 | = f.text_field :name, placeholder: "Example Team", class: "xxlarge" |
12 | 12 | |
13 | - | |
14 | - | |
15 | 13 | .clearfix.team_name_holder |
16 | 14 | = f.label :path do |
17 | 15 | %span.cred Team path is |
18 | 16 | .input |
19 | 17 | = f.text_field :path, placeholder: "example-team", class: "xxlarge danger" |
20 | 18 | %ul.cred |
21 | - %li Changing team path can have unintended side effects. | |
22 | - %li Renaming team path will rename directory for all related projects | |
23 | 19 | %li It will change web url for access team and team projects. |
24 | - %li It will change the git path to repositories under this team. | |
25 | 20 | |
26 | 21 | .form-actions |
27 | 22 | = f.submit 'Rename team', class: "btn danger" | ... | ... |