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

17 lines
594 B
Plaintext
Raw Normal View History

= form_for @team_member_relation, as: :team_member, url: admin_project_member_path(@project, @member) do |f|
-if @team_member_relation.errors.any?
2013-01-30 15:53:18 +01:00
.alert.alert-error
%ul
- @team_member_relation.errors.full_messages.each do |msg|
%li= msg
.clearfix
%label Project Access:
.input
= f.select :project_access, options_for_select(Project.access_options, @team_member_relation.project_access), {}, class: "project-access-select chosen span3"
%br
.actions
2013-01-29 21:18:19 +01:00
= f.submit 'Save', class: "btn btn-primary"
= link_to 'Cancel', :back, class: "btn"