gitlabhq/app/views/admin/team_members/_form.html.haml

17 lines
592 B
Plaintext
Raw Normal View History

= form_for @admin_team_member, as: :team_member, url: admin_team_member_path(@admin_team_member) do |f|
2011-10-08 23:36:38 +02:00
-if @admin_team_member.errors.any?
2012-02-11 18:56:18 +01:00
.alert-message.block-message.error
2011-10-08 23:36:38 +02:00
%ul
- @admin_team_member.errors.full_messages.each do |msg|
%li= msg
2012-02-11 18:56:18 +01:00
.clearfix
%label Project Access:
.input
= f.select :project_access, options_for_select(Project.access_options, @admin_team_member.project_access), {}, class: "project-access-select chosen span3"
%br
2011-10-08 23:36:38 +02:00
.actions
= f.submit 'Save', class: "btn primary"
= link_to 'Cancel', :back, class: "btn"