3a28603f32c5c1f017c332b0d916aa2a66ebc2af
[motion-next.git] /
1 <md-dialog class="agent-dialog" aria-label="agent" ng-init="vm.onInit()">
2   <form name="agentForm" ng-cloak>
3     <md-toolbar>
4       <div class="md-toolbar-tools">
5         <h2 translate="STAFF.TEAMS_ASSOCIATION">Teams Association</h2>
6         <span flex></span>
7         <md-button class="md-icon-button" ng-click="vm.closeDialog()">
8           <md-icon
9             md-font-icon="icon-close"
10             aria-label="Close dialog"
11           ></md-icon>
12         </md-button>
13       </div>
14     </md-toolbar>
15     <md-dialog-content>
16       <ms-dual-multiselect
17         options="vm.dualMultiselectOptions"
18       ></ms-dual-multiselect>
19     </md-dialog-content>
20     <md-dialog-actions
21       layout="row"
22       layout-align="end center"
23       ng-if="vm.crudPermissions.canEdit"
24     >
25       <span></span>
26       <md-button
27         layout-align="end center"
28         type="submit"
29         ng-click="vm.saveTeams()"
30         ng-disabled="!vm.pendingChanges"
31         class="send-button md-accent md-raised"
32         aria-label="SAVE"
33         translate="STAFF.SAVE"
34         translate-attr-aria-label="STAFF.SAVE"
35       >
36         SAVE
37       </md-button>
38     </md-dialog-actions>
39   </form>
40 </md-dialog>