Sha256: 8a78794217dbb706dabeeb1c4e709bd78c92f0e8df272a8d5cb22192c23ba6ea

Contents?: true

Size: 569 Bytes

Versions: 15

Compression:

Stored size: 569 Bytes

Contents

%h1 Manage categories

%h2 Create a new category
= link_to "New category", new_admin_category_path

%h2 Listing all categories
%table{:border => "1"}
  %tr
    %th
      Name

  - @categories.each do |category|
    %tr
      %td
        = link_to category.name, [:admin, category]
      %td
        = link_to "Show", admin_category_path(category)
      %td
        = link_to "Edit", edit_admin_category_path(category)
      %td
        = button_to "Destroy", admin_category_path(category), method: :delete, data: { confirm: 'Are you certain you want to delete this?' }

Version data entries

15 entries across 15 versions & 2 rubygems

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