<% phc_title "PHCPress - Categories Manager" %> <% phc_title_tagline "Categories Index" %>

<%= yield(:phc_title) %> <%= yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<% @modules_categories.each do |modules_category| %> <% end %>
Category Name
<%= modules_category.catname %>
<%= link_to 'Edit', edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %> <%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>