aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/categories/_category.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/blog/categories/_category.html.erb')
-rw-r--r--app/views/admin/blog/categories/_category.html.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/blog/categories/_category.html.erb b/app/views/admin/blog/categories/_category.html.erb
new file mode 100644
index 0000000..109f4e6
--- /dev/null
+++ b/app/views/admin/blog/categories/_category.html.erb
@@ -0,0 +1,13 @@
+<li class='clearfix record <%= cycle("on", "on-hover") %>' id="<%= dom_id(category) -%>">
+ <span class='title'>
+ <%=h 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),
+ :title => t('.edit') %>
+ <%= link_to refinery_icon_tag("delete.png"), admin_blog_category_path(category),
+ :class => "cancel confirm-delete",
+ :title => t('.delete') %>
+ </span>
+</li>