<% phc_title "Category Manager" %> <% phc_title_tagline "Category Index" %> <% phc_breadcrumb_one yield(:phc_title_tagline) %> <% phc_breadcrumb_two link_to "Category Index", phcdevworks_core_modules.modules_categories_path %>

<%= yield(:phc_title) %>

<% @modules_categories.each do |modules_category| %> <% end %>
Category
<%= modules_category.category_name %>
<%= link_to "Category Details", modules_category, class: "btn btn-purple btn-xs" %> <%= link_to "Update Category", edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %> <%= link_to "Remove Category", modules_category, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
<%= link_to phcdevworks_core_modules.new_modules_category_path, class: "btn btn-primary btn-sm" do %> Add a New Category <% end %>