app/views/devise/sessions/new.html.erb in enju_leaf-1.1.0.rc6 vs app/views/devise/sessions/new.html.erb in enju_leaf-1.1.0.rc7
- old
+ new
@@ -10,10 +10,10 @@
</div>
<div id="submenu" class="ui-corner-all">
<p>
<%= f.label t('activerecord.attributes.user.username') %><br />
- <%= f.text_field :username, :class => 'login_password' %>
+ <%= f.text_field :username, :class => 'login_password', :autofocus => true %>
</p>
<p>
<%= f.label t('activerecord.attributes.user.password') %><br />
<%= f.password_field :password, :class => 'login_password', :autocomplete => 'off' %>