1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 23:45:21 +02:00
Maybe/app/views/layouts/wizard.html.erb
Zach Gollwitzer ab6fdbbb68
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions
Component namespacing (#2463)
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT

* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT

* Update stimulus controller references to use namespace

* Fix remaining tests
2025-07-18 08:30:00 -04:00

37 lines
933 B
Text

<%= render "layouts/shared/htmldoc" do %>
<div class="bg-surface flex flex-col h-full">
<header class="flex items-center justify-between p-8">
<% if content_for?(:prev_nav) %>
<%= yield :prev_nav %>
<% else %>
<%= render DS::Link.new(
variant: "icon",
icon: "arrow-left",
href: content_for(:previous_path) || root_path
) %>
<% end %>
<nav>
<%= yield :header_nav %>
</nav>
<% if content_for?(:cancel_action) %>
<%= yield :cancel_action %>
<% else %>
<%= render DS::Link.new(
variant: "icon",
icon: "x",
href: content_for(:cancel_path) || root_path
) %>
<% end %>
</header>
<main class="grow px-8 pt-12 pb-32 overflow-y-auto">
<%= yield %>
</main>
<% if content_for?(:footer) %>
<%= yield :footer %>
<% end %>
</div>
<% end %>