<% add_decidim_meta_tags({ image_url: current_initiative.type.attached_uploader(:banner_image).path, description: translated_attribute(current_initiative.description), title: translated_attribute(current_initiative.title), url: initiative_url(current_initiative.id), twitter_handler: current_organization.twitter_handler }) %> <% edit_link( resource_locator(current_participatory_space).edit, :update, :initiative, initiative: current_participatory_space ) %> <%= participatory_space_floating_help %> <% add_decidim_page_title(translated_attribute(current_initiative.title)) %> <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).path %>
<% unless current_initiative.online_signature_type? %>

<%= t ".any_vote_method" if current_initiative.any_signature_type? %> <%= t ".offline_method" if current_initiative.offline_signature_type? %>

<% end %>
<% if current_initiative.published? %> <%= render partial: "progress_bar" %> <% if current_initiative.votes_enabled? %>
<%= render partial: "vote_cabin", locals: { initiative: current_initiative } %>
<% end %> <%= render partial: "interactions" %> <% else %> <%= link_to t(".edit"), edit_initiative_path(current_initiative), class: "button expanded" %> <%= render partial: "send_to_technical_validation", locals: { title: t(".send_to_technical_validation"), confirm: t(".confirm") } %> <%= link_to t(".print"), print_initiative_path(current_initiative), class: "link action-print" %> <% end %>
<% if current_user %>
<%= cell "decidim/follow_button", current_participatory_space, inline: false, large: true %> <%= t(".follow_description") %>
<% end %> <%= render partial: "decidim/shared/share_modal" %> <%= embed_modal_for initiative_widget_url(current_initiative, format: :js) %> <%= resource_reference(current_initiative) %> <%= resource_version(current_initiative, versions_path: initiative_versions_path(current_initiative)) %>

<%= translated_attribute(current_initiative.title) %>

<%= render partial: "author", locals: { initiative: current_initiative } %>

<%= render partial: "initiative_badge", locals: { initiative: current_initiative } %> <%= decidim_sanitize translated_attribute(current_initiative.description) %> <%= render partial: "tags", locals: { resource: current_initiative } %>
<%= render partial: "result", locals: { initiative: current_initiative } %>
<%= attachments_for current_initiative %>
<%= comments_for current_initiative if current_initiative.published? %>