Sha256: ea4d3150e277c939fd36f960b6c4e427e53063116a3513a012ee4f7aea913b20

Contents?: true

Size: 1.61 KB

Versions: 26

Compression:

Stored size: 1.61 KB

Contents

<dl>
  <%= display_for participatory_process,
    :title,
    :subtitle,
    :hashtag,
    :slug,
    :short_description,
    :description,
    :meta_scope,
    :developer_group,
    :local_area,
    :target,
    :participatory_scope,
    :participatory_structure
  %>

  <dt><%= display_label(participatory_process, :end_date) %></dt>
  <dd>
    <% if participatory_process.end_date %>
      <%=  l(participatory_process.end_date, format: :long) %>
    <% end %>
  </dd>

  <dt><%= display_label(participatory_process, :hero_image) %></dt>
  <dd>
    <% if participatory_process.hero_image? %>
      <%= image_tag participatory_process.hero_image.url.to_s %>
    <% end %>
  </dd>

  <dt><%= display_label(participatory_process, :banner_image) %></dt>
  <dd>
    <% if participatory_process.banner_image? %>
      <%= image_tag participatory_process.banner_image.url.to_s %>
    <% end %>
  </dd>

  <dt><%= display_label(participatory_process, :promoted) %></dt>
  <dd><%= humanize_boolean participatory_process.promoted? %></dd>

  <dt><%= display_label(participatory_process, :scope) %></dt>
  <% if participatory_process.scope %>
    <dd><%= participatory_process.scope.name %></dd>
  <% else %>
    <dd><%= t("decidim.participatory_processes.scopes.global") %></dd>
  <% end %>

  <dt><%= display_label(participatory_process, :participatory_process_group) %></dt>
  <% if participatory_process.participatory_process_group %>
    <dd><%= translated_attribute participatory_process.participatory_process_group.name %></dd>
  <% else %>
    <dd><%= t("decidim.participatory_processes.participatory_process_groups.none") %></dd>
  <% end %>
</dl>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
decidim-admin-0.4.4 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.4.4 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.4.3 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.4.2 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.4.1 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.4.3 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.4.2 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.4.1 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.4.0 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.4.0 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.3.2 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.3.2 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.3.1 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.3.1 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.3.0 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.3.0 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.2.0 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.2.0 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb
decidim-admin-0.1.0 app/views/decidim/admin/participatory_processes/show.html.erb
decidim-0.1.0 decidim-admin/app/views/decidim/admin/participatory_processes/show.html.erb