Merge pull request #2253 from alexleutgoeb/patch-1
Minor: Change html input type to "email" on sign-in view
This commit is contained in:
commit
273c0d2aa3
|
@ -3,7 +3,7 @@
|
||||||
- else
|
- else
|
||||||
= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f|
|
= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f|
|
||||||
= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo"
|
= image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo"
|
||||||
= f.text_field :email, :class => "text top", :placeholder => "Email"
|
= f.email_field :email, :class => "text top", :placeholder => "Email", :autofocus => "autofocus"
|
||||||
= f.password_field :password, :class => "text bottom", :placeholder => "Password"
|
= f.password_field :password, :class => "text bottom", :placeholder => "Password"
|
||||||
- if devise_mapping.rememberable?
|
- if devise_mapping.rememberable?
|
||||||
.clearfix.inputs-list
|
.clearfix.inputs-list
|
||||||
|
|
Loading…
Reference in a new issue