otwarchive-symphonyarchive/app/views/orphans/_orphan_user.html.erb
2026-03-11 22:22:11 +00:00

33 lines
1.1 KiB
Text

<!--Descriptive page name, messages and instructions-->
<% works = user.works.to_a %>
<h2 class="heading"><%= ts("Orphan All Works") %></h2>
<p class="caution notice"><%= t(".orphaning_works_message_html") %></p>
<p class="caution notice"><%= t(".orphaning_bylines_only_message_html") %></p>
<p class="caution notice">
<%= ts("Orphaning a work removes it from your account and re-attaches it to the specially created orphan_account. Please note that this is")%>
<strong><%= ts("permanent and irreversible.")%></strong>
<%= ts("You are giving up control over the work,")%>
<strong><%= ts("including the ability to edit or delete it.")%></strong>
</p>
<%= render "works/work_abbreviated_list", works: works %>
<p class="caution notice">
<%= ts("Are you")%>
<strong><%= ts("really")%></strong>
<%= ts("sure you want to do this?")%>
</p>
<%= form_tag orphans_path do %>
<p>
<% works.each do |work| %>
<%= hidden_field_tag "work_ids[]", work.id, id: "work_ids_#{work.id}" %>
<% end %>
</p>
<%= render "orphans/choose_pseud" %>
<p class="submit actions"><%= submit_tag ts("Yes, I'm sure") %></p>
<% end %>