<%= form_with url: admin_login_path, method: :post, local: true, class: "space-y-5" do |f| %>
<%= label_tag :email, "Email address", class: "font-mono-tech block text-[11px] uppercase tracking-wider text-slate-400" %>
<%= email_field_tag :email, params[:email],
class: "field-input block w-full rounded-xl pl-11 pr-3 py-3 text-sm",
placeholder: "admin@example.com",
autofocus: true,
required: true %>
<%= label_tag :password, "Password", class: "font-mono-tech block text-[11px] uppercase tracking-wider text-slate-400" %>
<%= password_field_tag :password, nil,
class: "field-input block w-full rounded-xl pl-11 pr-3 py-3 text-sm",
placeholder: "••••••••••••",
required: true %>
<%= submit_tag "Sign in",
class: "btn-accent flex w-full justify-center rounded-xl px-4 py-3.5 text-sm font-semibold text-slate-950" %>
<% end %>