<% if alert = flash[:alert] %>
<%= alert %>
<% end %>
<% if notice = flash[:notice] %>
<%= notice %>
<% end %>
Sign in
<%= form_with url: session_url, class: "contents" do |form| %>
<%= 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" %>
<%= 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" %>
<%= form.submit "Sign in", class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
<%= link_to "Forgot password?", new_password_path, class: "text-gray-700 underline" %>
<% end %>