<% add_decidim_meta_tags({ image_url: current_initiative.type.banner_image.url, description: translated_attribute(current_initiative.description), title: translated_attribute(current_initiative.title), url: initiative_url(current_initiative.id), twitter_handler: current_organization.twitter_handler }) %> <% add_decidim_page_title(translated_attribute(current_initiative.title)) %> <% provide :meta_image_url, current_initiative.type.banner_image.url %>
<% unless current_initiative.online? %>

<%= t ".any_vote_method" if current_initiative.any? %> <%= t ".offline_method" if current_initiative.offline? %>

<% end %>
<%= render partial: "votes_count", locals: { initiative: current_initiative } %>
<% if current_initiative.votes_enabled? %>
<%= render partial: "vote_cabin", locals: { initiative: current_initiative } %>
<% end %> <% if current_user %> <%= render partial: "decidim/shared/follow_button", locals: { followable: current_initiative } %> <% end %>
<%= render partial: "decidim/shared/share_modal" %> <%= embed_modal_for initiative_initiative_widget_url(current_initiative, format: :js) %> <%= render partial: "statistics" %>

<%= translated_attribute(current_initiative.title) %>

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

<%= render partial: "initiative_badge", locals: { initiative: current_initiative } %> <%= sanitize translated_attribute(current_initiative.description) %> <%= render partial: "tags", locals: { resource: current_initiative } %>
<%= render partial: "result", locals: { initiative: current_initiative } %>
<%= attachments_for current_initiative %> <%= render partial: "supports", locals: { initiative: current_initiative } %>
<%= comments_for current_initiative if current_initiative.published? %> <%= javascript_include_tag "decidim/initiatives/social_share" %> <%= stylesheet_link_tag "decidim/initiatives/application" %> <%= stylesheet_link_tag "decidim/initiatives/social_share" %>