This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/views/users/edit.html.haml

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'