diff options
author | Drew Blessing <drew@gitlab.com> | 2015-12-11 23:33:15 +0300 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-12-15 22:54:35 +0300 |
commit | 577448ab6ab35abbf0263bf8677dfde6d9770c3f (patch) | |
tree | 6355effd4303933bd374463d467dbc18181e92ca /app/views/admin/identities | |
parent | 2b4a3bc524c0db3f6e4e3d2b2f34ec29e358b240 (diff) |
Allow admin to create new user identities
Diffstat (limited to 'app/views/admin/identities')
-rw-r--r-- | app/views/admin/identities/index.html.haml | 1 | ||||
-rw-r--r-- | app/views/admin/identities/new.html.haml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/identities/index.html.haml b/app/views/admin/identities/index.html.haml index 8358a14445b..741d111fb7d 100644 --- a/app/views/admin/identities/index.html.haml +++ b/app/views/admin/identities/index.html.haml @@ -1,6 +1,7 @@ - page_title "Identities", @user.name, "Users" = render 'admin/users/head' += link_to 'New Identity', new_admin_user_identity_path, class: 'pull-right btn btn-new' - if @identities.present? .table-holder %table.table diff --git a/app/views/admin/identities/new.html.haml b/app/views/admin/identities/new.html.haml new file mode 100644 index 00000000000..e30bf0ef0ee --- /dev/null +++ b/app/views/admin/identities/new.html.haml @@ -0,0 +1,4 @@ +- page_title "New Identity" +%h3.page-title New identity +%hr += render 'form' |