gitlabhq/app/views/admin/teams/projects/_form.html.haml

17 lines
546 B
Plaintext
Raw Normal View History

= form_tag admin_team_project_path(@team, @project), method: :put do
-if @project.errors.any?
2013-01-30 15:53:18 +01:00
.alert.alert-error
%ul
- @project.errors.full_messages.each do |msg|
%li= msg
.clearfix
%label Max access for Team members:
.input
= select_tag :greatest_project_access, options_for_select(UserTeam.access_roles, @team.max_project_access(@project)), class: "project-access-select chosen span3"
%br
.actions
2013-01-29 21:18:19 +01:00
= submit_tag 'Save', class: "btn btn-primary"
= link_to 'Cancel', :back, class: "btn"