Sha256: 5a66608a98e6d55d0009f184a6af99743d4bd4c7400f5fe6d7d53f5e46b07575

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

<div class="h-table-actions d-none d-md-block">
  <form class="d-flex me-0 me-md-2" data-controller="table-actions" data-table-actions-target="form" data-index-target="actions" method="post">
    <%= hidden_field_tag :_method, :post, 'data-table-actions-target': 'method' %>
    <%= hidden_field_tag :authenticity_token, form_authenticity_token %>

    <template data-index-target="idFieldTemplate">
      <%= hidden_field_tag('ids[]', 'ID', multiple: true, id: 'ids_ID') %>
    </template>

    <select class="form-select me-1 mw-100" data-table-actions-target="select" data-action="change->table-actions#update">
      <option disabled selected="selected"><%= t('.selection') %></option>
      <%= yield if block_given? %>
    </select>

    <button class="btn h-btn-outline-light" type="submit">
      <%= t('.apply') %>
    </button>
  </form>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.1.2 app/views/headmin/table/_actions.html.erb
headmin-0.1.1 app/views/headmin/table/_actions.html.erb