<% if @bookmark.bookmarkable.nil? %> <%= ts('Are you sure you want to delete your bookmark of this deleted work?').html_safe %> <% else %> <%= ts('Are you sure you want to delete your bookmark of "%{bookmarkable}"?', :bookmarkable => @bookmark.bookmarkable.title).html_safe %> <% end %>
<%= f.submit ts("Yes, Delete Bookmark") %>
<% end %>