mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* WIP * WIP * WIP * WIP * WIP * WIP * WIP * format * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * fix conflict * fix conflict * chore: run rubocop * fix test * update PWA logo * fix tests * chore: lint * fix test * Refactor: Remove duplicate data attribute in activity partial and add chat form rendering in chats index --------- Co-authored-by: Josh Pigford <josh@joshpigford.com>
18 lines
591 B
Text
18 lines
591 B
Text
<%# locals: (title:, content:, subtitle: nil) %>
|
|
|
|
<%= modal do %>
|
|
<article class="mx-auto w-full p-4 space-y-4 md:min-w-[450px]">
|
|
<div class="space-y-2">
|
|
<header class="flex justify-between items-center">
|
|
<h2 class="font-medium"><%= title %></h2>
|
|
<%= lucide_icon("x", class: "cursor-pointer w-6 h-6 md:w-5 md:w-5 text-secondary", data: { action: "mousedown->modal#close" }) %>
|
|
</header>
|
|
|
|
<% if subtitle.present? %>
|
|
<%= tag.p subtitle, class: "text-secondary font-light" %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= content %>
|
|
</article>
|
|
<% end %>
|