diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-11 20:06:16 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-11 20:06:16 +0000 |
commit | 6c13cfb192ab4250e446f2d2212a701ffbd447e8 (patch) | |
tree | d9ab27ea2c701d46f49856ff84733e05b272cc92 /app/views/registrations/new.html.erb | |
parent | dc3704d4b85c67e7bf0d1669c879ef36bda12ed2 (diff) |
More tweaking of sign-up form
Diffstat (limited to 'app/views/registrations/new.html.erb')
-rw-r--r-- | app/views/registrations/new.html.erb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/registrations/new.html.erb b/app/views/registrations/new.html.erb index 05e7be9..3663e5f 100644 --- a/app/views/registrations/new.html.erb +++ b/app/views/registrations/new.html.erb @@ -19,12 +19,12 @@ <div class="my-5"> <%= label_tag "last_name", nil, class: "font-bold text-gray-700" %> - <%= form.text_field :last_name, required: true, autofocus: true, autocomplete: "last_name", placeholder: "Enter your last name", value: params[:last_name], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %> + <%= form.text_field :last_name, required: true, autocomplete: "last_name", placeholder: "Enter your last name", value: params[:last_name], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %> </div> <div class="my-5"> <%= label_tag "email_address", nil, class: "font-bold text-gray-700" %> - <%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "email_address", placeholder: "Enter your email address", value: params[:email_address], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %> + <%= form.email_field :email_address, required: true, autocomplete: "email_address", placeholder: "Enter your email address", value: params[:email_address], class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %> </div> <div class="my-5"> @@ -39,12 +39,13 @@ <div class="col-span-6 sm:flex sm:items-center sm:gap-4"> <div class="inline"> - <%= form.submit "Sign in", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %> + <%= form.submit "Create account", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %> </div> <div class="mt-4 text-sm text-gray-500 sm:mt-0"> - <%= link_to "Forgot password?", new_password_path, class: "text-gray-700 underline" %> - </div> + <%= link_to "Log in", new_session_path, class: "text-gray-700 underline" %> + <%= link_to "Forgot password?", new_password_path, class: "ps-2 text-gray-700 underline" %> </div> <% end %> + <br> </div>
\ No newline at end of file |