Sha256: ab744ca6e4932af810b445a4bafcbd96cf66c310ece3ac18d2ba9043e838cad6

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 Bytes

Contents

%h2
  = @group.name
%h3 Listing all members
%table{:border => "1"}
  %tr
    %th
      Name

  - @group.members.each do |member|
    %tr
      %td
        = MongoidForums.user_class.find(member).forum_display_name
      %td
        = button_to "Remove", admin_group_rem_user_path(group_id: @group.id, user: {id: member}), method: :post, data: { confirm: 'Are you certain you want to delete this?' }

= form_tag admin_group_add_user_path(@group), :method => :post do
  = collection_select(:user, :id, @users, :id, :email, {:prompt => true})
  %button
    Add

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid-forums-0.0.5 app/views/mongoid_forums/admin/groups/show.haml
mongoid-forums-0.0.4 app/views/mongoid_forums/admin/groups/show.haml