2012-08-11 00:07:50 +02:00
|
|
|
= 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
|
2012-09-10 08:09:55 +02:00
|
|
|
= f.select :project_access, options_for_select(Project.access_options, @admin_team_member.project_access), {}, class: "project-access-select chosen span3"
|
2011-11-21 08:26:10 +01:00
|
|
|
|
|
|
|
%br
|
2011-10-08 23:36:38 +02:00
|
|
|
.actions
|
2012-08-11 00:07:50 +02:00
|
|
|
= f.submit 'Save', class: "btn primary"
|
|
|
|
= link_to 'Cancel', :back, class: "btn"
|