mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-03 04:25:21 +02:00
Add new settings profile and preferences pages (#672)
* Add new settings profile and preferences pages * Fix lint errors
This commit is contained in:
parent
ad4de99f1a
commit
5a5f13b46b
15 changed files with 192 additions and 32 deletions
12
app/views/settings/_section.html.erb
Normal file
12
app/views/settings/_section.html.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%# 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>
|
Loading…
Add table
Add a link
Reference in a new issue