mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 11:42:28 +01:00
Remove unnecessary roles parameter and add comment re: Angular for user creation
This commit is contained in:
parent
7a381632d0
commit
0f0c0328ce
@ -127,6 +127,8 @@ polr.controller('AdminCtrl', function($scope, $compile) {
|
||||
|
||||
$scope.addNewUser = function($event) {
|
||||
// Create a new user
|
||||
// FIXME could use Angular models in the future
|
||||
// instead of relying on .val()
|
||||
|
||||
var username = $('#new-username').val();
|
||||
var user_password = $('#new-user-password').val();
|
||||
|
@ -83,8 +83,7 @@
|
||||
</div>
|
||||
|
||||
@include('snippets.user_table', [
|
||||
'table_id' => 'admin_users_table',
|
||||
'roles' => $user_roles
|
||||
'table_id' => 'admin_users_table'
|
||||
])
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user