mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 05:55:21 +02:00
Clean up i18n translations (#676)
* Clean up i18n translations * Normalize translations
This commit is contained in:
parent
be21d2b4fd
commit
da5021b6b0
6 changed files with 27 additions and 28 deletions
16
app/views/shared/_confirm_modal.html.erb
Normal file
16
app/views/shared/_confirm_modal.html.erb
Normal file
|
@ -0,0 +1,16 @@
|
|||
<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(".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(".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(".accept") %></button>
|
||||
</form>
|
||||
</dialog>
|
Loading…
Add table
Add a link
Reference in a new issue