You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324
  1. <dialog-ok-cancel title="{{ group.Id == null ? 'Add' : 'Edit'}} group {{ group.Name }}">
  2. <div class="form-group">
  3. <label for="name" class="col-sm-2 control-label">Name</label>
  4. <div class="col-sm-9">
  5. <input autofocus id="name" class="form-control" ng-model="group.Name" required lu-enable-permission="{{ permission }}"/>
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <div class="col-sm-9 col-sm-offset-2">
  10. <div class="col-sm-6">
  11. <button type="button" class="btn btn-primary btn-block"
  12. ng-click="editPermissions(group)" ng-show="canEditPermissions()">
  13. Edit permissions
  14. </button>
  15. </div>
  16. <div class="col-sm-6">
  17. <button type="button" class="btn btn-primary btn-block"
  18. ng-click="editUsers(group)" ng-show="canEditUsers()">
  19. Edit users
  20. </button>
  21. </div>
  22. </div>
  23. </div>
  24. </dialog-ok-cancel>