Sha256: 466780e4827cdf52aa678566bae600ebd486f2f8626c9f4e943e5d963b77503b

Contents?: true

Size: 873 Bytes

Versions: 61

Compression:

Stored size: 873 Bytes

Contents

<div id="js-merge-proposals-actions" class="hide js-bulk-action-form">
  <%= form_tag(proposals_merge_path, method: :post, id: "js-form-merge-proposals", class: "flex--cc flex-gap--1") do %>
    <div class="checkboxes hide">
      <% proposals.each do |proposal| %>
        <%= check_box_tag "proposal_ids[]", proposal.id, false, class: "js-check-all-proposal js-proposal-id-#{proposal.id}" %>
      <% end %>
    </div>

    <%= bulk_components_select((current_component.siblings + [current_component])) %>

    <%= submit_tag(t("decidim.proposals.admin.proposals.index.merge_button"), id: "js-submit-merge-proposals", class: "button small button--simple float-left") %>

    <button id="js-cancel-merge-proposals" class="button tiny clear compact js-cancel-bulk-action" type="button"><%= t("decidim.proposals.admin.proposals.index.cancel") %></button>
  <% end %>
</div>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
decidim-proposals-0.15.0 app/views/decidim/proposals/admin/proposals/bulk_actions/_merge.html.erb