mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-27 17:19:39 +02:00
Add settings button to subscription upgrade view
This commit is contained in:
parent
8070986763
commit
34b3e4ae20
1 changed files with 9 additions and 1 deletions
|
@ -2,7 +2,15 @@
|
||||||
<nav class="p-4">
|
<nav class="p-4">
|
||||||
<h1 class="sr-only">Upgrade</h1>
|
<h1 class="sr-only">Upgrade</h1>
|
||||||
|
|
||||||
<div class="flex justify-end">
|
<div class="flex justify-end gap-2">
|
||||||
|
<%= render ButtonComponent.new(
|
||||||
|
text: "Settings",
|
||||||
|
icon: "settings",
|
||||||
|
icon_position: :left,
|
||||||
|
variant: "ghost",
|
||||||
|
href: settings_profile_path(return_to: request.fullpath)
|
||||||
|
) %>
|
||||||
|
|
||||||
<%= render ButtonComponent.new(
|
<%= render ButtonComponent.new(
|
||||||
text: "Sign out",
|
text: "Sign out",
|
||||||
icon: "log-out",
|
icon: "log-out",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue