diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/blog/categories/_category.html.erb | 4 | ||||
-rw-r--r-- | app/views/admin/blog/posts/_post.html.erb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/blog/categories/_category.html.erb b/app/views/admin/blog/categories/_category.html.erb index 7997d68..6238c87 100644 --- a/app/views/admin/blog/categories/_category.html.erb +++ b/app/views/admin/blog/categories/_category.html.erb @@ -10,7 +10,7 @@ <%= link_to refinery_icon_tag("delete.png"), admin_blog_category_path(category), :class => "cancel confirm-delete", :title => t('.delete'), - :'data-method' => 'delete', - :'data-confirm' => t('shared.admin.delete.message', :title => category.title) %> + :method => 'delete', + :confirm => t('shared.admin.delete.message', :title => category.title) %> </span> </li> diff --git a/app/views/admin/blog/posts/_post.html.erb b/app/views/admin/blog/posts/_post.html.erb index a768279..2bb80b4 100644 --- a/app/views/admin/blog/posts/_post.html.erb +++ b/app/views/admin/blog/posts/_post.html.erb @@ -12,7 +12,7 @@ <%= link_to refinery_icon_tag("delete.png"), admin_blog_post_path(post), :class => "cancel confirm-delete", :title => t('.delete'), - :'data-method' => 'delete', - :'data-confirm' => t('shared.admin.delete.message', :title => post.title) %> + :method => :delete, + :confirm => t('shared.admin.delete.message', :title => post.title) %> </span> </li> |