mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* Finalize transaction drawer, simplify money form helpers * Fix money form errors * Reusable disclosure helper, fix styles * Final style tweaks
13 lines
489 B
Plaintext
13 lines
489 B
Plaintext
<%# locals: (title:, content:, open: true) %>
|
|
|
|
<details class="group space-y-2" <%= "open" if open %>>
|
|
<summary class="flex list-none items-center justify-between rounded-xl px-3 py-2 text-xs font-medium
|
|
uppercase text-gray-500 bg-gray-25 focus-visible:outline-none">
|
|
<h3><%= title %></h3>
|
|
<%= lucide_icon "chevron-down",
|
|
class: "group-open:transform group-open:rotate-180 text-gray-500 w-5 h-5" %>
|
|
</summary>
|
|
|
|
<%= content %>
|
|
</details>
|