aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/refinery/blog/admin/categories/_category.html.erb4
-rw-r--r--app/views/refinery/blog/admin/posts/_post.html.erb4
2 files changed, 6 insertions, 2 deletions
diff --git a/app/views/refinery/blog/admin/categories/_category.html.erb b/app/views/refinery/blog/admin/categories/_category.html.erb
index d31e4e6..24a1b78 100644
--- a/app/views/refinery/blog/admin/categories/_category.html.erb
+++ b/app/views/refinery/blog/admin/categories/_category.html.erb
@@ -19,6 +19,8 @@
:class => "cancel confirm-delete",
:title => t('.delete'),
:method => :delete,
- :confirm => t('message', :scope => 'refinery.admin.delete', :title => category.title) %>
+ :data => {
+ :confirm => t('message', :scope => 'refinery.admin.delete', :title => category.title)
+ } %>
</span>
</li>
diff --git a/app/views/refinery/blog/admin/posts/_post.html.erb b/app/views/refinery/blog/admin/posts/_post.html.erb
index 781595a..eb9cc9d 100644
--- a/app/views/refinery/blog/admin/posts/_post.html.erb
+++ b/app/views/refinery/blog/admin/posts/_post.html.erb
@@ -29,6 +29,8 @@
:class => "cancel confirm-delete",
:title => t('.delete'),
:method => :delete,
- :confirm => t('message', :scope => 'refinery.admin.delete', :title => post.title) %>
+ :data => {
+ :confirm => t('message', :scope => 'refinery.admin.delete', :title => post.title)
+ } %>
</span>
</li>