Sha256: 3c3be09713245b276b9dcd63431513d8505a07baeb813d5576cab46198456872

Contents?: true

Size: 586 Bytes

Versions: 11

Compression:

Stored size: 586 Bytes

Contents

<% if @resource_service.batch_action_map.present? %>
  <%= link_to translate_scoped("batch_actions.buttons.select_all"), "#", class: "btn btn-default",
    data: { behavior: "batch-actions-select batch-actions-select-all" } %>
  <%= link_to translate_scoped("batch_actions.buttons.deselect_all"), "#", class: "btn btn-default hidden",
    data: { behavior: "batch-actions-select batch-actions-select-none" } %>

  <div class="btn-group">
    <% @resource_service.batch_action_map.each do |name, options| %>
      <%= batch_action_link(name, options) %>
    <% end %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
godmin-1.2.0 app/views/godmin/resource/_batch_actions.html.erb
godmin-1.1.0 app/views/godmin/resource/_batch_actions.html.erb
godmin-1.0.0 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.12.4 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.12.3 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.12.2 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.12.1 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.12.0 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.11.2 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.11.1 app/views/godmin/resource/_batch_actions.html.erb
godmin-0.11.0 app/views/godmin/resource/_batch_actions.html.erb