Sha256: 472ac0a8c54547c0fbf82def4be481f63c1fe11ed53ee313cad0cefa47b2b92c

Contents?: true

Size: 648 Bytes

Versions: 7

Compression:

Stored size: 648 Bytes

Contents

<%= form_with(method: :patch,
              id:,
              class:  "tables--selection--form",
              data:   { controller:      form_controller,
                        turbo_action:    "replace",
                        turbo_permanent: "" },
              html:   { action: false, hidden: "" }) do |form| %>
  <p class="tables--selection--summary">
    <span data-<%= form_target("count") %>>0</span>
    <span data-<%= form_target("singular") %> hidden><%= @collection.model_name.singular %></span>
    <span data-<%= form_target("plural") %>><%= @collection.model_name.plural %></span>
    selected
  </p>
  <%= content %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katalyst-tables-3.3.4 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.3.3 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.3.2 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.3.1 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.3.0 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.2.0 app/components/katalyst/tables/selectable/form_component.html.erb
katalyst-tables-3.1.0 app/components/katalyst/tables/selectable/form_component.html.erb