mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
feat: toggle header checkbox in transaction page when button is clicked
This commit is contained in:
@@ -62,8 +62,11 @@
|
|||||||
<div class="grid-cols-12 bg-container-inset rounded-xl px-5 py-3 text-xs uppercase font-medium text-secondary items-center mb-4 grid">
|
<div class="grid-cols-12 bg-container-inset rounded-xl px-5 py-3 text-xs uppercase font-medium text-secondary items-center mb-4 grid">
|
||||||
<div class="pl-0.5 col-span-8 flex items-center gap-4">
|
<div class="pl-0.5 col-span-8 flex items-center gap-4">
|
||||||
<%= check_box_tag "selection_entry",
|
<%= check_box_tag "selection_entry",
|
||||||
class: "checkbox checkbox--light",
|
class: "checkbox checkbox--light hidden lg:block",
|
||||||
data: { action: "bulk-select#togglePageSelection" } %>
|
data: {
|
||||||
|
action: "bulk-select#togglePageSelection",
|
||||||
|
checkbox_toggle_target: "selectionEntry"
|
||||||
|
} %>
|
||||||
<p>transaction</p>
|
<p>transaction</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user