Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 62e696b68c
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.611 kb
<tr>
<td><%= category.category_name %></td>
<td>
<p class="right">
<% if ( !category.categorizations.any? ) && (can? :delete, category) %>
<%= link_to "Delete", category, method: :delete, data: { confirm: "You sure?" }, class: 'btn btn-mini btn-danger' %>
<% end %>
<% if can? :update, category %>
<%= link_to "edit", edit_category_path(category), class: 'btn btn-mini btn-primary' %>
<% end %>
</p>
</td>
</tr>
Jump to Line
Something went wrong with that request. Please try again.