Skip to content

Commit

Permalink
fixed field names in admin section
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciek Szczesniak committed Sep 15, 2010
1 parent 5437204 commit 4fa6449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sinatra-s3/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class Admin < Sinatra::Base
%input{ :type => "checkbox", :name => "user[superuser]", :value => @usero.superuser }
%div.required
%label{ :for => "user[password]" } Password
%input.fixed{ :type => "password", :name => "user[email]" }
%input.fixed{ :type => "password", :name => "user[password]" }
%div.required
%label{ :for => "user[password_confirmation]" } Password again
%input.fixed{ :type => "password", :name => "user[password_confirmation]" }
Expand All @@ -535,7 +535,7 @@ class Admin < Sinatra::Base
%input{ :type => "checkbox", :name => "user[superuser]", :value => @usero.superuser }
%div.required
%label{ :for => "user[password]" } Password
%input.fixed{ :type => "password", :name => "user[email]" }
%input.fixed{ :type => "password", :name => "user[password]" }
%div.required
%label{ :for => "user[password_confirmation]" } Password again
%input.fixed{ :type => "password", :name => "user[password_confirmation]" }
Expand Down

0 comments on commit 4fa6449

Please sign in to comment.