<% works = pseud.works.to_a %>

<%= ts("Orphan All Works by %{name}", name: pseud.name) %>

<%= ts("Orphaning all works by %{name} will", name: pseud.name)%> <%= ts("permanently")%> <%= ts("remove the pseud %{name} from the following work(s), their chapters, associated series, and any feedback replies you may have left on them.", name: pseud.name) %>

<%= ts("Unless another one of your pseuds is listed as a creator on the work(s) below, orphaning them will remove them from your account and re-attach them to the specially created orphan_account. Please note that this is")%> <%= ts("permanent and irreversible.")%> <%= ts("You are giving up control over the work(s),")%> <%= ts("including the ability to edit or delete them.")%>

<%= render "works/work_abbreviated_list", works: works %>

<%= ts("Are you")%> <%= ts("really")%> <%= ts("sure you want to do this?")%>

<%= form_tag orphans_path do %>

<% works.each do |work| %> <%= hidden_field_tag "work_ids[]", work.id, id: "work_ids_#{work.id}" %> <% end %> <%= hidden_field_tag :pseud_id, pseud.id %>

<%= render "orphans/choose_pseud" %>

<%= submit_tag ts("Yes, I'm sure") %>

<% end %>