Sha256: 349795f176628c3348a5065692a51bf5f136d2338fdd47d66581c73bae4a92ec

Contents?: true

Size: 925 Bytes

Versions: 6

Compression:

Stored size: 925 Bytes

Contents

<div id="js-split-proposals-actions" class="hide js-bulk-action-form">
  <%= form_tag(proposals_split_path, method: :post, id: "js-form-split-proposals", class: "form form-defaults flex items-center gap-x-2") do %>
    <div class="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.split_button"), id: "js-submit-split-proposals", class: "button button__sm button__secondary small button--simple float-left") %>

    <button id="js-cancel-split-proposals" class="button button__sm button__secondary js-cancel-bulk-action" type="button"><%= t("decidim.proposals.admin.proposals.index.cancel") %></button>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/admin/proposals/bulk_actions/_split.html.erb