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

29 lines
792 B
Text
Raw Normal View History

<div class="container">
<h2><%= translate '.sign_in' %></h2>
2018-11-29 16:03:07 -05:00
<%= 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' } %>
2018-11-29 16:14:05 -05:00
<%= f.input :password,
required: false,
input_html: { autocomplete: 'current-password' } %>
2018-11-29 16:14:05 -05:00
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
2018-12-13 21:13:49 -05:00
<div class="mb-3">
<%= recaptcha_tags %>
</div>
</div>
2018-11-29 16:03:07 -05:00
<div class="form-actions">
<%= f.button :submit, translate('.sign_in') %>
</div>
<% end %>
2018-11-29 16:03:07 -05:00
<%= render 'users/shared/links' %>
</div>