lib/generators/admin/scaffold/templates/erb/show.html.erb.tt in administration-zero-0.0.8 vs lib/generators/admin/scaffold/templates/erb/show.html.erb.tt in administration-zero-0.0.9

- old
+ new

@@ -4,10 +4,10 @@ <li class="breadcrumb-item"><%%= link_to "<%= human_name.pluralize %>", <%= index_helper(type: :path) %> %></li> <%% end %> <%%= render "page_header_actions" do %> <%%= link_to "Edit <%= human_name.downcase %>", <%= edit_helper(type: :path) %>, class: "btn btn-primary" %> - <%%= button_to "Delete <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, form_class: "d-inline", class: "btn btn-light", data: { confirm: "Are you sure ?" } %> + <%%= button_to "Delete <%= human_name.downcase %>", <%= model_resource_name(prefix: "@") %>, method: :delete, "data-confirm": "Are you sure?", form_class: "d-inline", class: "btn btn-light" %> <%% end %> <%% end %> <div class="page-body"> <div class="container-xl">