Files
sure/app/views/sessions/new.html.erb
Zach Gollwitzer 1ffa13f3b3 Use DB for auth sessions (#1233)
* DB sessions

* Validations for profile image
2024-10-03 14:42:22 -04:00

16 lines
626 B
Plaintext

<%
header_title t(".title")
%>
<%= styled_form_with url: sessions_path, class: "space-y-4" do |form| %>
<%= form.email_field :email, label: t(".email"), autofocus: false, autocomplete: "email", required: "required", placeholder: t(".email_placeholder") %>
<%= form.password_field :password, label: t(".password"), required: "required" %>
<%= form.submit t(".submit") %>
<% end %>
<div class="mt-6 text-center">
<p class="text-sm text-gray-600"><%= t(".forgot_password") %> <%= link_to t(".reset_password"), new_password_reset_path, class: "font-medium text-gray-600 hover:text-gray-400 transition" %></p>
</div>