aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/admin/blog/categories/_category.html.erb
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 17:28:09 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-07-27 17:28:09 +0300
commit06071e558008477e1b8dbb376d6693af97eeff32 (patch)
tree0ed1e765b37975fbbd054b058a45712ee7464c73 /app/views/refinery/admin/blog/categories/_category.html.erb
parent3fa8937b95a4d90000ad1be9c588424052136455 (diff)
downloadrefinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.gz
refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.bz2
refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.zip
Wip.
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>