BikeBikeBike/app/views/organizations/members.html.haml

16 lines
534 B
Plaintext
Raw Normal View History

2014-03-09 14:43:33 -06:00
- page_style :form
= tabs!
.row
= form_for @organization do |f|
.columns.medium-4
%h2=_'organization.members.help.title', :t
%p=_'organization.members.help', :p
.columns.medium-8
.clearfix
= f.fields_for :user_organization_relationships, :include_id => true do |u|
= u.user_select_field :id, @organization.users[u.index], {:relationship => @organization.user_organization_relationships[u.index].relationship || true}
-#attrs: [@organization.user_organization_relationships[u.index]]
= f.actions :save