implement user creation by admin

This commit is contained in:
Eugene Dubinin 2017-01-10 17:07:28 +02:00 committed by Stella Rouzi
parent f057900fb1
commit 93404d543f
5 changed files with 93 additions and 21 deletions

View file

@ -1,10 +1,13 @@
.row
.col-md-12
.page-header
%h2
%h1
Users
- if @users
= "(#{@users.length})"
- if can? :create, User
.pull-right
=link_to 'Add User', new_admin_user_path, :class => 'button btn btn-default btn-info'
.row
.col-md-12.table-responsive
%table.table.table-striped.table-bordered.table-hover.datatable