foodsoft/app/views/shared/memberships/_non_members.rhtml

12 lines
366 B
Text
Raw Normal View History

<ul>
<% for user in @group.non_members %>
<li>
2013-09-20 22:40:13 +02:00
<%= show_user user, full: true, markup: true %>
2013-02-08 19:16:06 +01:00
| <%= link_to_remote t('.add'),
2009-02-02 17:28:59 +01:00
:url => { :controller => '/memberships', :action => 'add_member', :id => @group, :user_id => user },
:before => "Element.show('loader')",
:success => "Element.hide('loader')" %>
</li>
<% end %>
2013-02-08 19:16:06 +01:00
</ul>