Initial commit
This commit is contained in:
13
app/views/sessions/new.html.erb
Normal file
13
app/views/sessions/new.html.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
<% 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>
|
||||
Reference in New Issue
Block a user