1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Add more missing :require => true

This commit is contained in:
José Valim 2011-06-30 15:29:35 -03:00
parent 7a2e018df8
commit 51d15b7293
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
PATH
remote: .
specs:
devise (1.4.1)
devise (1.4.2)
bcrypt-ruby (~> 2.1.2)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)

View file

@ -4,7 +4,7 @@
<%= f.error_notification %>
<div class="inputs">
<%= f.input :email, :autofocus => true %>
<%= f.input :email, :required => true, :autofocus => true %>
<%= f.input :password, :hint => "leave it blank if you don't want to change it", :required => false %>
<%= f.input :password_confirmation, :required => false %>
<%= f.input :current_password, :hint => "we need your current password to confirm your changes", :required => true %>

View file

@ -4,9 +4,9 @@
<%= f.error_notification %>
<div class="inputs">
<%= f.input :email, :autofocus => true %>
<%= f.input :password %>
<%= f.input :password_confirmation %>
<%= f.input :email, :required => true, :autofocus => true %>
<%= f.input :password, :required => true %>
<%= f.input :password_confirmation, :required => true %>
</div>
<div class="actions">