Sha256: 08432dd221cc1a3a79778b3b0784172ed32a93c52d6769fe1b68f262bd925cb5

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

<h3><%= translated_attribute(@participatory_process_step.title) %></h3>

<div class="actions">
  <hr>
  <%= link_to t("decidim.admin.actions.edit"), edit_participatory_process_step_path(participatory_process, @participatory_process_step) if allowed_to? :update, :process_step, process_step: @participatory_process_step %>
  <%= link_to t("decidim.admin.actions.destroy"), participatory_process_step_path(participatory_process, @participatory_process_step), method: :delete, class: "alert button", data: { confirm: t("decidim.admin.actions.confirm_destroy") } if allowed_to? :destroy, :process_step, process_step: @participatory_process_step %>
</div>

<dl>
  <%= display_for @participatory_process_step,
                  :title,
                  :description %>
  <dt><%= display_label(@participatory_process_step, :start_date) %></dt>
  <dd><%= l @participatory_process_step.start_date, format: :short if @participatory_process_step.start_date.present? %></dd>
  <dt><%= display_label(@participatory_process_step, :end_date) %></dt>
  <dd><%= l @participatory_process_step.end_date, format: :short if @participatory_process_step.end_date.present? %></dd>
</dl>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.28.4 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.3 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.2 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.1 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.0 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.0.rc5 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb
decidim-participatory_processes-0.28.0.rc4 app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb