Sha256: 002b798e46cd1445008058360539c3790ab3c0cd72dc332d615d86ba69eb1c72

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

<% add_decidim_page_title(t("info", scope: "decidim.admin.menu.participatory_processes_submenu")) %>
<% add_decidim_page_title(translated_attribute(current_participatory_space.title)) %>
<div class="item_show__header">
  <h2 class="item_show__header-title">
    <%= t("info", scope: "decidim.admin.menu.participatory_processes_submenu") %>
  </h2>
</div>

<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@form, html: { class: "form form-defaults edit_participatory_process" }) do |f| %>
      <%= render partial: "form", object: f %>
      <div class="item__edit-sticky">
        <div class="item__edit-sticky-container">
          <%= f.submit t("participatory_processes.edit.update", scope: "decidim.admin"), class: "button button__sm button__secondary" %>

          <% if allowed_to? :publish, :process, process: current_participatory_process %>
            <% if current_participatory_process.published? %>
              <%= link_to t("actions.unpublish", scope: "decidim.admin"), participatory_process_publish_path(current_participatory_process), method: :delete, class: "button button__sm button__secondary" %>
            <% else %>
              <%= link_to t("actions.publish", scope: "decidim.admin"), participatory_process_publish_path(current_participatory_process), method: :post, class: "button button__sm button__secondary" %>
            <% end %>
          <% end %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.28.0 app/views/decidim/participatory_processes/admin/participatory_processes/edit.html.erb
decidim-participatory_processes-0.28.0.rc5 app/views/decidim/participatory_processes/admin/participatory_processes/edit.html.erb
decidim-participatory_processes-0.28.0.rc4 app/views/decidim/participatory_processes/admin/participatory_processes/edit.html.erb