13 lines
448 B
Plaintext
13 lines
448 B
Plaintext
= error_messages @user
|
|
|
|
= form :action => url(:user, :id => @user.user_name), :method => :put do
|
|
%fieldset
|
|
%legend== Changing settings for user <em>#{@user.user_name}</em>
|
|
%p
|
|
%label{ :for => 'password' } Password
|
|
= password_field :name => 'user[password]', :id => 'password'
|
|
%p
|
|
%label{ :for => 'password_confirmation' } Confirm
|
|
= password_field :name => 'user[password]', :id => 'password'
|
|
= submit 'Save'
|