Sha256: 51b834da9d25c29fd68b8dc0a28c42b7df2d690c0e9021d1ac4a7f7323fff567

Contents?: true

Size: 903 Bytes

Versions: 6

Compression:

Stored size: 903 Bytes

Contents

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

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/admin/paragraphs/bulk_actions/_merge.html.erb