123456789101112131415161718192021222324 |
- <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 autofocus id="name" class="form-control" ng-model="group.Name" required lu-enable-permission="{{ permission }}"/>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-9 col-sm-offset-2">
- <div class="col-sm-6">
- <button type="button" class="btn btn-primary btn-block"
- ng-click="editPermissions(group)" ng-show="canEditPermissions()">
- Edit permissions
- </button>
- </div>
- <div class="col-sm-6">
- <button type="button" class="btn btn-primary btn-block"
- ng-click="editUsers(group)" ng-show="canEditUsers()">
- Edit users
- </button>
- </div>
- </div>
- </div>
- </dialog-ok-cancel>
|