mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
* Add turbo confirm dialog * Add default fallback check * Fix locale typo and swap element type * Replaced locale folder and removed static strings from Turbo.setConfirmMethod * Normalize shared/en.yml
16 lines
No EOL
795 B
Text
16 lines
No EOL
795 B
Text
<dialog id="turbo-confirm" class="max-w-[420px] w-full rounded-xl">
|
|
<form method="dialog" class="p-4">
|
|
<div class="flex flex-col mb-4">
|
|
<div class="flex justify-between mb-2 gap-4">
|
|
<h3 id="turbo-confirm-title" class="font-medium text-md"><%= t('custom_turbo_confirm.default.title') %></h3>
|
|
<button value="cancel">
|
|
<%= lucide_icon("x", class: "w-5 h-5 shrink-0 text-gray-500") %>
|
|
</button>
|
|
</div>
|
|
<div id="turbo-confirm-body" class="text-gray-500 text-sm">
|
|
<%= t('custom_turbo_confirm.default.body_html') %>
|
|
</div>
|
|
</div>
|
|
<button id="turbo-confirm-accept" class="w-full text-red-600 rounded-xl text-center p-[10px] border" value="confirm"><%= t('custom_turbo_confirm.default.accept') %></button>
|
|
</form>
|
|
</dialog> |