Commit 1adb54795e932f3c18870685027a313564da4c63
Committed by
Michel Felipe

1 parent
917a672d
Exists in
master
and in
6 other branches
Use .checkbox-nice in accept member task
Also change from ng-click to (click) when toggle role selection.
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
src/app/task/types/add-member/add-member-accept.html
1 | 1 | <div class="add-member-details"> |
2 | 2 | <label>{{"tasks.add_member.accept.select_role" | translate}}</label> |
3 | 3 | <div class="form-group roles"> |
4 | - <div class="checkbox" ng-repeat="role in ctrl.roles"> | |
5 | - <input type="checkbox" ng-click="ctrl.toggleSelection(role)"> {{role.name}} | |
4 | + <div class="checkbox-nice" ng-repeat="role in ctrl.roles"> | |
5 | + <input type="checkbox" id="role_{{role.name}}" (click)="ctrl.toggleSelection(role)"> | |
6 | + <label for="role_{{role.name}}"> | |
7 | + {{role.name}} | |
8 | + </label> | |
6 | 9 | </div> |
7 | 10 | </div> |
8 | 11 | </div> | ... | ... |