mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 22:45:20 +02:00
* Make forms more composable, opt-in to form builder * Remove unused method * Simpler money input controls * Add in new form styling to imports * Lint fixes * Small tweak of multi select styles
13 lines
669 B
Text
13 lines
669 B
Text
<%
|
|
header_title t(".title")
|
|
%>
|
|
<%= 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 %>
|
|
<%= form.password_field :password, autocomplete: "new-password", required: "required", label: true %>
|
|
<%= form.password_field :password_confirmation, autocomplete: "new-password", required: "required", label: true %>
|
|
<% if invite_code_required? %>
|
|
<%= form.password_field :invite_code, required: "required", label: true %>
|
|
<% end %>
|
|
<%= form.submit %>
|
|
<% end %>
|