<%= @directory_category.catname %>
<%= link_to edit_directory_category_path(@directory_category), class: "btn btn-sm btn-primary" do %>
Update
<% end %>
<%= link_to @directory_category, method: :delete, data: { confirm: 'Are you sure? You will also remove all listing connections to that category. The category will also be removed from your online web directory.' }, class: "btn btn-sm btn-danger" do %>
Delete
<% end %>