1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/users/sessions/new.html.erb

24 lines
685 B
Text

<div class="container">
<h1><%= translate '.sign_in' %></h1>
<%= simple_form_for resource, as: resource_name, url: session_path(resource_name) do |f| %>
<%= f.input :email,
required: false,
autofocus: true,
input_html: { autocomplete: 'email' } %>
<%= f.input :password,
required: false,
input_html: { autocomplete: 'current-password' } %>
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
<div class="mb-3">
<%= recaptcha_tags %>
</div>
<%= f.button :submit, translate('.sign_in') %>
<% end %>
<%= render 'users/shared/links' %>
</div>