mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 13:35:21 +02:00
Add basic self hosted onboarding (#1177)
* Add basic self hosted onboarding * Lint fix * Normalize translations
This commit is contained in:
parent
0149ca4ea1
commit
d3d9af8bce
6 changed files with 37 additions and 3 deletions
|
@ -1,6 +1,14 @@
|
|||
<%
|
||||
header_title t(".title")
|
||||
%>
|
||||
|
||||
<% if self_hosted_first_login? %>
|
||||
<div class="fixed inset-0 w-full h-fit bg-gray-25 p-5 border-b border-alpha-black-200 flex flex-col gap-3 items-center text-center mb-12">
|
||||
<h2 class="font-bold text-xl"><%= t(".welcome_title") %></h2>
|
||||
<p class="text-gray-500 text-sm"><%= t(".welcome_body") %></p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= styled_form_with model: @user, url: registration_path, class: "space-y-4" do |form| %>
|
||||
<%= auth_messages form %>
|
||||
<%= form.email_field :email, autofocus: false, autocomplete: "email", required: "required", placeholder: "you@example.com", label: true %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue