Add interface to create and update user accounts
This commit is contained in:
parent
5c89cf1501
commit
5f3713aecd
11 changed files with 100 additions and 1 deletions
9
app/views/users/_form.haml
Normal file
9
app/views/users/_form.haml
Normal file
|
@ -0,0 +1,9 @@
|
|||
= simple_form_for @user do |f|
|
||||
= f.input :email, required: true
|
||||
= f.input :password, required: true
|
||||
= f.input :password_confirmation, required: true
|
||||
|
||||
.form-actions
|
||||
= f.submit class: 'btn'
|
||||
|
||||
= link_to 'Zurück', users_path
|
Loading…
Add table
Add a link
Reference in a new issue