Sha256: 8022037997990a9c86fe61a0fed27dca24c72460af7fecb57647299d25d2a5bf

Contents?: true

Size: 930 Bytes

Versions: 6

Compression:

Stored size: 930 Bytes

Contents

<div id="js-recategorize-proposals-actions" class="hide js-bulk-action-form">
  <%= form_tag(update_category_proposals_path, method: :post, remote: true, id: "js-form-recategorize-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_categories_select current_component.categories %>

    <%= submit_tag(t("decidim.proposals.admin.proposals.index.update"), id: "js-submit-edit-category", class: "button button__sm button__secondary small button--simple float-left") %>

    <button id="js-cancel-edit-category" 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/_recategorize.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/admin/proposals/bulk_actions/_recategorize.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/admin/proposals/bulk_actions/_recategorize.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/admin/proposals/bulk_actions/_recategorize.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/admin/proposals/bulk_actions/_recategorize.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/admin/proposals/bulk_actions/_recategorize.html.erb