<%= form_tag "sessions", class: "needs-validation", novalidate: true do %>
<%= text_field_tag :email, params[:email], {
class: "form-control",
id: "email",
placeholder: "you@example.com",
required: true,
autofocus: true
} %>
<%= password_field_tag :password, nil, {
class: "form-control",
id: "password",
placeholder: "Enter your password",
required: true
} %>
<%= hidden_field_tag :url, @url %>
<%= check_box_tag :remember_me, 1, params[:remember_me], {
id: "remember_me",
class: "form-check-input"
} %>
<%= submit_tag "Login", class: "btn btn-primary btn-lg" %>
<%= link_to "Forgot Password?", forgot_password_path, class: "text-decoration-none" %>
Don't have an account?
<%= link_to "Sign up now", signup_path, class: "btn btn-outline-primary" %>
<% end %>
Security Training Environment
This is an intentionally vulnerable application for educational purposes.
Learn more →