eBooru/app/views/sessions/new.html.erb
2024-12-18 09:31:54 -08:00

28 lines
869 B
Plaintext

<div id="c-sessions"><div id="a-new">
<%= simple_form_for(:session, url: session_path, html: { class: "session_form" }) do |f| %>
<h1>Sign in</h1>
<%= f.input(:url, as: :hidden, input_html: { value: params[:url] }) %>
<%= f.input(:name, label: "Username") %>
<%= f.input(:password) %>
<%= f.input(:remember, as: :boolean, input_html: { checked: "checked" }) %>
<%= f.submit("Continue") %>
<% end %>
<section class="session_info">
<h3>
Don't have an account?<br />
<%= link_to("Sign up here.", new_user_path) %>
</h3>
<br />
<h3><%= link_to("Reset Password", new_maintenance_user_password_reset_path) %></h3>
<h3><%= link_to("Login Reminder", new_maintenance_user_login_reminder_path) %></h3>
</section>
</div></div>
<% content_for(:page_title) do %>
Sign in
<% end %>
<%= render "secondary_links" %>