Last active
October 16, 2017 09:17
-
-
Save domagude/f05b2a817722c74a2193be17a4b0558b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= bootstrap_form_for(resource, | |
as: resource_name, | |
url: session_path(resource_name)) do |f| %> | |
<%= f.email_field :email, | |
autofocus: true, | |
class: 'form-control', | |
placeholder: 'email' %> | |
<%= f.password_field :password, | |
autocomplete: "off", | |
class: 'form-control', | |
placeholder: 'password' %> | |
<% if devise_mapping.rememberable? -%> | |
<%= f.check_box :remember_me %> | |
<% end -%> | |
<%= f.submit "Log in", class: 'form-control login-button' %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment