From 6c13cfb192ab4250e446f2d2212a701ffbd447e8 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 11 Nov 2024 20:06:16 +0000 Subject: More tweaking of sign-up form --- app/views/sessions/new.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/views/sessions/new.html.erb') diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 4c17d82..3dd9a3d 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -7,14 +7,16 @@

<%= notice %>

<% end %> -

Sign in

+

Sign in

<%= form_with url: session_url, class: "contents" do |form| %> -
+ <%= label_tag "email_address", nil, class: "font-bold text-gray-700" %> +
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", 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" %>
-
+ <%= label_tag "password", nil, class: "font-bold text-gray-700" %> +
<%= form.password_field :password, required: true, autocomplete: "current-password", placeholder: "Enter your password", maxlength: 72, class: "block shadow rounded-md border border-gray-400 outline-none px-3 py-2 mt-2 w-full" %>
-- cgit v1.2.3