Sha256: 2a0a9da44027db1a1b4cf9aa77d3106db21000e5b1468934e29e08bfc1d459c2

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

<% add_decidim_meta_tags({
                           title: translated_attribute(current_participatory_space.title),
                           image_url: current_participatory_space.attached_uploader(:hero_image).path,
                           description: translated_attribute(current_participatory_space.short_description),
                           url: participatory_process_url(current_participatory_space)
                         }) %>

<%
  edit_link(
    resource_locator(current_participatory_space).edit,
    :update,
    :process,
    process: current_participatory_space
  )
%>

<%= render partial: "layouts/decidim/header/follow_space_menu_bar_button", locals: { participatory_space: current_participatory_space } %>

<main>
  <%# NOTE: this elements goes outside of the .participatory-space__container block %>
  <% if current_participatory_space.private_space? %>
    <section class="participatory-space__block-reference alert">
      <%= t("private_space", scope: "decidim.participatory_processes.show") %>
    </section>
  <% end %>

  <div class="participatory-space__container">

    <%= participatory_space_floating_help %>
    <%= cell "decidim/participatory_processes/process_step", current_participatory_space, display_steps: params[:display_steps] %>

    <% active_content_blocks.each do |content_block| %>
      <% next unless content_block.manifest %>

      <%= cell content_block.manifest.cell, content_block %>
    <% end %>

  </div>

  <section class="participatory-space__block-reference">
    <%= resource_reference(current_participatory_space) %>
  </section>
</main>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.29.0.rc3 app/views/decidim/participatory_processes/participatory_processes/show.html.erb
decidim-participatory_processes-0.29.0.rc2 app/views/decidim/participatory_processes/participatory_processes/show.html.erb
decidim-participatory_processes-0.29.0.rc1 app/views/decidim/participatory_processes/participatory_processes/show.html.erb