<% content_for :page_title, t(".title") %>

<div class="col-md-4 offset-md-4 mt-5">
  <%= bootstrap_form_with scope: :session, url: session_path, local: true, html: { autocorrect: :off, autocapitalize: :none, autocomplete: :off, spellcheck: false } do |form| %>
    <%= form.text_field :email, required: true %>
    <%= form.password_field :password, required: true %>
    <%= form.check_box "remember_me", name: "remember_me", wrapper_class: "mb-3" %>
    <%= form.button t(".submit"), class: "btn btn-block btn-lg btn-primary" %>
    <div class="mt-2 text-right">
      <%= link_to t(".forgot_password"), [:new, :password_reset] %>
    </div>
  <% end %>
</div>
