mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
implement user creation by admin
This commit is contained in:
parent
f057900fb1
commit
93404d543f
5 changed files with 93 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue