12345678910111213141516171819 |
- <dialog-ok-cancel title="{{ group.Id == null ? 'Add' : 'Edit'}} group {{ group.Name }}">
- <div class="form-group">
- <label for="name" class="col-sm-2 control-label">Name</label>
- <div class="col-sm-9">
- <input id="name" class="form-control" ng-model="group.Name" required lu-enable-permission="{{ permission }}"/>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-2"></div>
- <button type="button" class="btn btn-default"
- ng-click="editPermissions(group)" ng-show="canEditPermissions()">
- Edit permissions
- </button>
- <button type="button" class="btn btn-default"
- ng-click="editUsers(group)" ng-show="canEditUsers()">
- Edit users
- </button>
- </div>
- </dialog-ok-cancel>
|