gitlabhq/app/views/admin/teams/edit.html.haml

29 lines
917 B
Plaintext
Raw Normal View History

2013-02-07 12:10:14 +01:00
%h3.page_title Edit Team
2013-01-19 18:11:11 +01:00
%hr
2013-01-20 09:08:46 +01:00
= form_for @team, url: admin_team_path(@team), method: :put do |f|
2013-01-19 18:11:11 +01:00
- if @team.errors.any?
2013-01-30 15:53:18 +01:00
.alert.alert-error
2013-01-19 18:11:11 +01:00
%span= @team.errors.full_messages.first
.clearfix.team_name_holder
= f.label :name do
Team name is
.input
= f.text_field :name, placeholder: "Example Team", class: "xxlarge"
2013-02-19 20:02:25 +01:00
.clearfix.team-description-holder
2013-02-07 12:10:14 +01:00
= f.label :description, "Details"
.input
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
2013-01-19 18:11:11 +01:00
.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 It will change web url for access team and team projects.
.form-actions
2013-02-07 12:10:14 +01:00
= f.submit 'Edit team', class: "btn btn-remove"
2013-01-29 21:18:19 +01:00
= link_to 'Cancel', admin_teams_path, class: "btn btn-cancel"