2024-06-07 12:44:06 -04:00
|
|
|
<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 %>
|
|
|
|
|
2024-06-07 16:56:30 -04:00
|
|
|
<%= form_with url: bulk_delete_transactions_path, builder: ActionView::Helpers::FormBuilder, data: { turbo_confirm: true } do %>
|
|
|
|
<button type="button" data-action="bulk-select#submitBulkDeletionRequest" class="p-1.5 group hover:bg-gray-700 flex items-center justify-center rounded-md" title="Delete">
|
|
|
|
<%= lucide_icon "trash-2", class: "w-5 group-hover:text-white" %>
|
|
|
|
</button>
|
2024-06-07 12:44:06 -04:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|