Restore admin/edit view for users
This commit is contained in:
parent
e0beb2e475
commit
544407a389
3 changed files with 58 additions and 29 deletions
10
app/views/admin/users/edit.html.haml
Normal file
10
app/views/admin/users/edit.html.haml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1
|
||||
Edit User
|
||||
= form_for [:admin, @user] do |f|
|
||||
= render partial: 'users/form', locals: { f: f, full: true }
|
||||
.form-group
|
||||
.text-right
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
Loading…
Add table
Add a link
Reference in a new issue