1 <md-dialog class="faxAccount-dialog" aria-label="New FaxAccount">
2 <form name="faxAccountFormApp" class="md-inline-form" novalidate>
3 <md-toolbar class="md-accent md-hue-2">
5 class="md-toolbar-tools"
7 layout-align="space-between center"
9 <span class="title">{{ vm.title | translate }}</span>
10 <md-button class="md-icon-button" ng-click="vm.closeDialog()">
12 md-font-icon="icon-close"
13 aria-label="Close dialog"
19 <md-dialog-content ms-scroll>
20 <div class="error-list">
22 ng-repeat="error in vm.errors"
25 layout-align="space-between center"
28 <span class="message">{{error.message}}</span>
29 <span class="type">({{error.type}})</span>
31 <md-button class="md-icon-button">
33 md-font-icon="icon-alert-box"
34 aria-label="alert error"
40 <md-input-container class="md-block">
41 <label translate="FAX.DISPOSITION">Disposition</label>
45 ng-model="vm.close.disposition"
48 ng-disabled="!vm.crudPermissions.canEdit"
52 ng-messages="faxAccountFormApp['disposition'].$error"
53 ng-show="faxAccountFormApp['disposition'].$touched"
56 <div ng-message="required">
57 <span translate="FAX.ERRORS.DISPOSITION_REQUIRED"
58 >Disposition field is required</span
64 <div class="error-list">
66 ng-repeat="error in vm.errors"
69 layout-align="space-between center"
72 <span class="message">{{error.message}}</span>
73 <span class="type">({{error.type}})</span>
75 <md-button class="md-icon-button">
77 md-font-icon="icon-alert-box"
78 aria-label="alert error"
86 <md-dialog-actions layout="row" layout-align="space-between center">
89 layout-align="start center"
90 ng-if="vm.crudPermissions.canEdit"
94 ng-click="vm.saveFaxAccountApp()"
95 class="send-button md-accent md-raised"
96 ng-disabled="faxAccountFormApp.$invalid || faxAccountFormApp.$pristine"
99 translate-attr-aria-label="FAX.SAVE"