app/views/cms/page_routes/index.html.erb in browsercms-3.0.6 vs app/views/cms/page_routes/index.html.erb in browsercms-3.1.0
- old
+ new
@@ -22,11 +22,11 @@
<% content_for :functions do %>
<%= link_to(span_tag(" Add "), new_cms_page_route_path, :class => "button") %>
<%= link_to(span_tag(" Edit "), '#', :id => 'edit_button', :class => "button disabled") %>
<%= link_to span_tag("<span class=\"delete_img\"> </span>Delete"), "#",
:id => "delete_button",
- :class => "button disabled http_delete",
- :onclick => "return confirm('Are you sure you want to delete this Page Route?')" %>
+ :class => "button http_delete confirm_with_title disabled",
+ :title => "Are you sure you want to delete this Page Route?" %>
<%= link_to(span_tag("View"), "#", :id => 'view_button', :class => "button") %>
<%= link_to(span_tag("View Rails Routes"), cms_routes_path, :class => "button") %>
<% end %>
<div class="roundedcorners">