<%= @work.posted? ? ts("Delete Work") : ts("Delete Draft") %>

<%= form_for(@work, :html => {:method => :delete, :class => "simple destroy"}) do |f| %>

<%= ts('Are you sure you want to delete "%{work_title}" permanently? This cannot be undone.', :work_title => @work.title).html_safe %> <% if @work.posted? %> <%= ts("All bookmarks, comments, and kudos will be lost. If you just want to remove your association with the work, you could Orphan it instead.") %> <% end %>

<%= f.submit (@work.posted? ? ts("Yes, Delete Work") : ts("Yes, Delete Draft")) %> <% if @work.posted? %> <%= link_to ts("Orphan Work Instead"), new_orphan_path(:work_id => @work.id) %> <% end %>

<% end %>