mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
* Add bulk selection UI * Handle bulk selection with Stimulus controller instead of session * Update tests * Remove stale routes * Remove old system test helper methods
18 lines
960 B
Plaintext
18 lines
960 B
Plaintext
<div class="fixed bottom-6 z-10 flex items-center justify-between rounded-xl bg-gray-900 px-4 text-sm text-white w-[420px] py-1.5">
|
|
<div class="flex items-center gap-2">
|
|
<%= check_box_tag "transaction_selection", 1, true, class: "maybe-checkbox maybe-checkbox--dark", data: { action: "bulk-select#deselectAll" } %>
|
|
|
|
<p data-bulk-select-target="selectionBarText"></p>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-1 text-gray-500">
|
|
<%= button_to "#", disabled: true, class: "cursor-not-allowed p-1.5 group hover:bg-gray-700 flex items-center justify-center rounded-md", title: "Edit" do %>
|
|
<%= lucide_icon "pencil-line", class: "w-5 group-hover:text-white" %>
|
|
<% end %>
|
|
|
|
<%= button_to "#", disabled: true, class: "cursor-not-allowed p-1.5 group hover:bg-gray-700 flex items-center justify-center rounded-md", title: "Delete" do %>
|
|
<%= lucide_icon "trash-2", class: "w-5 group-hover:text-white" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|