mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
16 lines
918 B
Plaintext
16 lines
918 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 "entry_selection", 1, true, class: "checkbox checkbox--dark", data: { action: "bulk-select#deselectAll" } %>
|
|
|
|
<p data-bulk-select-target="selectionBarText"></p>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-1 text-secondary">
|
|
<%= form_with url: transactions_bulk_deletion_path, data: { turbo_confirm: CustomConfirm.for_resource_deletion("entry").to_data_attribute, turbo_frame: "_top" } do %>
|
|
<button type="button" data-bulk-select-scope-param="bulk_delete" data-action="bulk-select#submitBulkRequest" class="p-1.5 group hover:bg-inverse flex items-center justify-center rounded-md" title="Delete">
|
|
<%= icon "trash-2", class: "group-hover:text-inverse" %>
|
|
</button>
|
|
<% end %>
|
|
</div>
|
|
</div>
|