Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set cursor into username field on login page - fixes #3305

  • Loading branch information...
commit 22103ffe65fc20f0b77f4836101cf96241a7199b 1 parent 4cfff48
@caarlos0 caarlos0 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/sessions/new.html.erb
View
2  app/views/sessions/new.html.erb
@@ -15,7 +15,7 @@
</label>
<div class="controls">
- <%= f.text_field :username, :required => true, :pattern => "[A-Za-z0-9_.@\-]+", :autocapitalize => "off", :autocorrect => "off" %>
+ <%= f.text_field :username, :required => true, :pattern => "[A-Za-z0-9_.@\-]+", :autocapitalize => "off", :autocorrect => "off", :autofocus => true %>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.