1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-22 22:59:39 +02:00
Maybe/app/views/settings/_section.html.erb
Zach Gollwitzer 5a5f13b46b
Add new settings profile and preferences pages (#672)
* Add new settings profile and preferences pages

* Fix lint errors
2024-04-25 07:54:56 -04:00

12 lines
381 B
Text

<%# locals: (title:, subtitle: nil, content:) %>
<section class="bg-white border border-alpha-black-25 shadow-xs rounded-xl p-4 space-y-4">
<div>
<h2 class="text-lg font-medium text-gray-900"><%= title %></h2>
<% if subtitle.present? %>
<p class="text-gray-500 text-sm mt-1"><%= subtitle %></p>
<% end %>
</div>
<div>
<%= content %>
</div>
</section>