<% phc_title "Article Category Manager" %> <% phc_title_tagline "Category Index" %> <% phc_breadcrumb_one yield(:phc_title) %> <% phc_breadcrumb_two link_to "Category Index", phcpress.article_categories_path %> <% phc_breadcrumb_three yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<%= yield(:phc_title_tagline) %>

<% @article_categories.each do |article_category| %> <% end %>
Category Name
<%= link_to article_category.category_name, phcpress.edit_article_category_path(article_category) %>
<%= link_to "Edit Category", edit_article_category_path(article_category), class: "btn btn-primary btn-xs" %> <%= link_to "Remove Category", article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
<%= link_to phcpress.new_article_category_path, class: "btn btn-primary btn-sm" do %> <%= "Add a New Article Category" %> <% end %>