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