aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/admin/blog/categories/_category.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/admin/blog/categories/_category.html.erb')
-rw-r--r--app/views/refinery/admin/blog/categories/_category.html.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/refinery/admin/blog/categories/_category.html.erb b/app/views/refinery/admin/blog/categories/_category.html.erb
new file mode 100644
index 0000000..191f649
--- /dev/null
+++ b/app/views/refinery/admin/blog/categories/_category.html.erb
@@ -0,0 +1,16 @@
+<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>">
+ <span class='title'>
+ <%= category.title %>
+ <span class="preview">&nbsp;</span>
+ </span>
+ <span class='actions'>
+ <%= link_to refinery_icon_tag("application_edit.png"),
+ edit_admin_blog_category_path(category, :dialog => true, :height => 325),
+ :title => t('.edit') %>
+ <%= link_to refinery_icon_tag("delete.png"), admin_blog_category_path(category),
+ :class => "cancel confirm-delete",
+ :title => t('.delete'),
+ :method => :delete,
+ :confirm => t('message', :scope => 'shared.admin.delete', :title => category.title) %>
+ </span>
+</li>