mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +00:00
* Dashboard design fixes * Update dashboard greeting * Remove sidebar toggle from settings breadcrumbs * Autofocus and outlines for category dropdowns * Lint fixes
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
<%# This partial renders the page header with title and optional subtitle %>
|
|
<header class="space-y-6">
|
|
<% if local_assigns[:title].present? %>
|
|
<div class="space-y-1">
|
|
<h1 class="text-3xl font-medium text-gray-900"><%= title %></h1>
|
|
<% if local_assigns[:subtitle].present? %>
|
|
<p class="text-gray-500"><%= subtitle %></p>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</header>
|