mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
* Bump min supported date to 20 years * Add basic onboarding * User onboarding * Complete onboarding flow * Cleanup, add user profile update test
17 lines
788 B
Plaintext
17 lines
788 B
Plaintext
<% content_for :sidebar do %>
|
|
<%= render "settings/nav" %>
|
|
<% end %>
|
|
|
|
<div class="space-y-4">
|
|
<h1 class="text-gray-900 text-xl font-medium mb-4"><%= t(".page_title") %></h1>
|
|
<%= settings_section title: t(".subscription_title"), subtitle: t(".subscription_subtitle") do %>
|
|
<% if @user.family.stripe_plan_id.blank? %>
|
|
<%= link_to t(".subscribe_button"), new_subscription_path, class: "w-fit flex text-white text-sm font-medium items-center gap-1 bg-gray-900 rounded-lg p-2", data: { turbo: false } %>
|
|
<% else %>
|
|
<%= link_to t(".manage_subscription_button"), subscription_path, class: "w-fit flex text-white text-sm font-medium items-center gap-1 bg-gray-900 rounded-lg p-2", data: { turbo: false } %>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<%= settings_nav_footer %>
|
|
</div>
|