Sha256: 8c06e9647cc1c2e76e40a13ffee67bcf093f4a33530c98e831fb7fc2f88e9c6e

Contents?: true

Size: 705 Bytes

Versions: 15

Compression:

Stored size: 705 Bytes

Contents

%h2 Listing all moderator groups for: #{@category.name}
%table{:border => "1"}
  %tr
    %th
      Name

  - @category.moderator_groups.each do |group|
    %tr
      %td
        = link_to group.name, [:admin, group]
      %td
        = link_to "Show", admin_group_path(group)
      %td
        = link_to "Edit", edit_admin_group_path(group)
      %td
        = button_to "Remove", admin_category_rem_group_path(category_id: params[:id], group: {id: group.id}), method: :post, data: { confirm: 'Are you certain you want to delete this?' }

= form_tag admin_category_add_group_path(@category), :method => :post do
  = collection_select(:group, :id, @groups, :id, :name, {:prompt => true})
  %button
    Add

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
mongoid-forums-1.0.7 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.6 app/views/mongoid_forums/admin/categories/show.haml
ack-mongoid-forums-1.0.6.1 app/views/mongoid_forums/posts/admin/categories/show.haml
ack-mongoid-forums-1.0.6 app/views/mongoid_forums/posts/admin/categories/show.haml
ack-mongoid-forums-1.0.5 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.4 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.3 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.2 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.1 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-1.0.0 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-0.0.11 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-0.0.10 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-0.0.9 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-0.0.5 app/views/mongoid_forums/admin/categories/show.haml
mongoid-forums-0.0.4 app/views/mongoid_forums/admin/categories/show.haml