% add_decidim_meta_tags({
description: decidim_sanitize(translated_attribute(sortition.additional_info)),
title: decidim_html_escape(translated_attribute(sortition.title)),
url: sortition_url(sortition.to_param)
}) %>
<%= t ".introduction", reference: sortition.id, target_items: sortition.target_items %>
<%= link_to :sortitions, class: "small hollow" do %>
<%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
<%= t(".back") %>
<% end %>
<%= decidim_html_escape(translated_attribute(sortition.title)) %>
<%= render partial: "sortition_author", locals: { sortition: sortition } %>
<%= resource_reference(sortition) %>
<%= render partial: "decidim/shared/share_modal" %>
<%= embed_modal_for sortition_widget_url(sortition, format: :js) %>
<%= decidim_sanitize translated_attribute sortition.additional_info %>
<% if sortition.cancelled? %>
<%= t ".cancelled" %>
<%= render partial: "sortition_cancel_author", locals: { sortition: sortition } %>
<%= decidim_sanitize translated_attribute sortition.cancel_reason %>
<% end %>
<%= t ".witnesses" %>
<%= decidim_sanitize translated_attribute sortition.witnesses %>
<% if sortition&.proposals %>
<%= t ".proposals_selected_by_sortition" %>
<%= render partial: "proposal", collection: sortition.proposals %>
<% end %>
<%= t ".sortition_reproducibility_details" %>
<%= t ".dice_result" %>
<%= sortition.dice %>
<%= t ".time_seed" %>
<%= sortition.request_timestamp.to_i %>
<%= t ".mathematical_result" %>
<%= sortition.seed %>
<%= t ".algorithm" %>
<%= link_to Decidim::Sortitions.sortition_algorithm,
Decidim::Sortitions.sortition_algorithm,
target: "_blank",
title: t(".algorithm") %>
<%= t ".candidate_proposal_ids" %>
<%= t ".candidate_proposals_info", category_label: sortition_category_label(sortition) %>:
<%= sortition_proposal_candidate_ids sortition %>
<%= comments_for sortition %>