Files
sure/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

13 lines
381 B
Plaintext

<%# 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>