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/sessions/new.html.erb | |
parent | dc3704d4b85c67e7bf0d1669c879ef36bda12ed2 (diff) |
More tweaking of sign-up form
Diffstat (limited to '')
-rw-r--r-- | app/views/sessions/new.html.erb | 8 |
1 files changed, 5 insertions, 3 deletions
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 @@ <p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%= notice %></p> <% end %> - <h1 class="font-bold text-4xl">Sign in</h1> + <h1 class="my-4 font-bold text-4xl">Sign in</h1> <%= form_with url: session_url, class: "contents" do |form| %> - <div class="my-5"> + <%= label_tag "email_address", nil, class: "font-bold text-gray-700" %> + <div class="mb-5"> <%= 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" %> </div> - <div class="my-5"> + <%= label_tag "password", nil, class: "font-bold text-gray-700" %> + <div class="mb-5"> <%= 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" %> </div> |