Prompt for first-run setup when no accounts exist

This commit is contained in:
Jeffrey Hardy
2024-09-30 13:17:31 -04:00
parent dc60c9b1a2
commit 7863bb5862
8 changed files with 116 additions and 2 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<%= form_with url: session_path, class: "flex flex-column gap txt-large" do |form| %>
<div class="flex align-center gap">
<%= translation_button(:email_address) %>
<%= translation_button :email_address %>
<label class="flex align-center gap input input--actor">
<%= form.email_field :email_address, required: true, class: "input full-width", autofocus: true, autocomplete: "username", placeholder: "Enter your email address" %>
<%= image_tag "email.svg", aria: { hidden: "true" }, size: 30, class: "colorize--black" %>
@@ -23,7 +23,7 @@
</div>
<div class="flex align-center gap">
<%= translation_button(:password) %>
<%= translation_button :password %>
<label class="flex align-center gap input input--actor">
<%= form.password_field :password, required: true, class: "input full-width", autocomplete: "current-password", placeholder: "Enter your password", maxlength: 72 %>
<%= image_tag "password.svg", aria: { hidden: "true" }, size: 30, class: "colorize--black" %>