<div class="modal" ng-controller="KisBpmChoseCandidateGroupsCtrl">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="close()">&times;
                </button>
                <h2 translate>PROPERTY.ASSIGNMENT.TITLE</h2>
            </div>
            <div class="modal-body" style="min-height: 350px;overflow: auto;">
                <div class="row row-no-gutter" style="padding: 0 20px">
                    <table class="table table-bordered table-condensed table-hover table-striped">
                        <thead>
                        <tr class="active">
                            <th style="text-align: center">序号</th>
                            <th style="text-align: center">组名</th>
                            <th style="text-align: center">描述</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr style="text-align: center" ng-repeat="candidateGroup in candidateGroups"
                            ng-class="candidateGroup.selected==true?'info':''" ng-click="rowClick(candidateGroup.id)">
                            <td>{{$index+1}}</td>
                            <td>{{candidateGroup.name}}</td>
                            <td>{{candidateGroup.description}}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
               <!-- <button type="button" class="btn btn-default"ng-click="selectAll()">全选</button> -->
                <button ng-click="close()" class="btn btn-primary" translate>ACTION.CANCEL</button>
                <button ng-click="save()" class="btn btn-primary" translate>ACTION.SAVE</button>
            </div>
        </div>
    </div>
</div>