Controller users and user_sessions added

This commit is contained in:
Christoph Haas 2016-02-26 17:34:36 +01:00
parent 0d10c8ef0a
commit 83259aab54
17 changed files with 179 additions and 0 deletions

View file

@ -0,0 +1,20 @@
= render "shared/error_messages", :target => @user
p
= form.label :name %
br
= form.text_field :name
p
= form.label :email
br
= form.text_field :email
p
= form.label :password, form.object.new_record? ? nil : "Change password"
br
= form.password_field :password
p
= form.label :password_confirmation
br
= form.password_field :password_confirmation
= link_to 'Edit Account', edit_account_path