Permalink
Browse files

Allow admin to remove group member

  • Loading branch information...
Craig
Craig committed May 2, 2011
1 parent 0090cd2 commit 43830908173f1a940190db0d114493ea2ec909f3
@@ -0,0 +1,14 @@
+<h2>Other members:</h2>
+
+<table>
+<% @group_members.each do |group_member| %>
+ <tr>
+ <td>
+ <p><%= group_member.email %></p>
+ </td>
+ <td>
+ <%= link_to "Remove", members_political_group_join_political_group_path(@political_group, :group_member_id => group_member.id), :method => :delete %>
+ </td>
+ </tr>
+ <% end%>
+</table>
@@ -0,0 +1,5 @@
+ <h2>Other members:</h2>
+
+ <% @group_members.each do |group_member| %>
+ <p><%= group_member.email %></p>
+ <% end%>

0 comments on commit 4383090

Please sign in to comment.