app/views/smithy/assets/_asset.html.erb in smithycms-0.4.2 vs app/views/smithy/assets/_asset.html.erb in smithycms-0.4.3

- old
+ new

@@ -1,10 +1,10 @@ <li> <div class="thumbnail clearfix"> <%= link_to "<img src=\"#{asset.file.thumb("170x114#").url}\" width=\"170\" height=\"114\" alt=\"\">".html_safe, asset.file.url %> <p class="name"><strong><%= asset.name %></strong></p> <div class="pull-right"> - <%= link_to "Edit", [:edit, asset], :class => "btn btn-mini" %> - <%= link_to "Delete", asset, :class => "btn btn-mini btn-danger", :method => :delete, :confirm => "Are you sure?" %> + <%= link_to "Edit", [:edit, asset], class: "btn btn-mini" %> + <%= link_to "Delete", asset, class: "btn btn-mini btn-danger", method: :delete, data: { confirm: "Are you sure?" } %> </div> </div> </li>