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

12 lines
391 B
Text
Raw Normal View History

<ul>
<% for user in @group.non_members %>
<li>
<b><%= user.nick %></b> (<%=h user.first_name + ' ' + user.last_name %>)
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>