Commit 273c0d2aa3238aee213efab07f52b78eab1af64f
Exists in
master
and in
4 other branches
Merge pull request #2253 from alexleutgoeb/patch-1
Minor: Change html input type to "email" on sign-in view
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/devise/sessions/new.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | - else | 3 | - else |
4 | = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f| | 4 | = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login-box" }) do |f| |
5 | = image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" | 5 | = image_tag "login-logo.png", :width => "304", :height => "66", :class => "login-logo", :alt => "Login Logo" |
6 | - = f.text_field :email, :class => "text top", :placeholder => "Email" | 6 | + = f.email_field :email, :class => "text top", :placeholder => "Email", :autofocus => "autofocus" |
7 | = f.password_field :password, :class => "text bottom", :placeholder => "Password" | 7 | = f.password_field :password, :class => "text bottom", :placeholder => "Password" |
8 | - if devise_mapping.rememberable? | 8 | - if devise_mapping.rememberable? |
9 | .clearfix.inputs-list | 9 | .clearfix.inputs-list |