28 lines
792 B
Text
28 lines
792 B
Text
<div class="container">
|
|
<h1><%= translate '.sign_in' %></h1>
|
|
|
|
<%= simple_form_for resource, as: resource_name, url: session_path(resource_name) do |f| %>
|
|
<div class="form-inputs">
|
|
<%= 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>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<%= f.button :submit, translate('.sign_in') %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render 'users/shared/links' %>
|
|
</div>
|