app/views/mr_video/cassettes/index.html.erb in mr_video-1.1.0 vs app/views/mr_video/cassettes/index.html.erb in mr_video-1.1.1
- old
+ new
@@ -18,10 +18,10 @@
<td><%= index + 1 %></td>
<td><%= link_to(cassette.name, cassette_path(cassette)) %></td>
<td><%= cassette.episodes.count %></td>
<td><%= time_ago_in_words(cassette.updated_at) %> ago</td>
<td>
- <%= link_to(cassette_path(cassette), method: :delete, confirm: "Are you sure you want to delete the \"#{cassette.name}\" cassette?", 'data-severity' => 'danger', remote: true) do %>
+ <%= link_to(cassette_path(cassette), method: :delete, data: { confirm: "Are you sure you want to delete the \"#{cassette.name}\" cassette?", severity: 'danger' }, remote: true) do %>
<button class="btn btn-danger btn-xs">
<i class="glyphicon glyphicon-trash"></i> Delete
</button>
<% end %>
</td>
\ No newline at end of file