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.CONDITION">Condition</label>
45 ng-model="vm.gotoif.condition"
48 ng-disabled="!vm.crudPermissions.canEdit"
52 ng-messages="faxAccountFormApp['condition'].$error"
53 ng-show="faxAccountFormApp['condition'].$touched"
56 <div ng-message="required">
57 <span translate="FAX.ERRORS.CONDITION_REQUIRED"
58 >Condition field is required</span
63 <md-input-container class="md-block">
64 <label translate="FAX.TRUEPRIORITY">truepriority</label>
68 ng-model="vm.gotoif.truepriority"
71 ng-disabled="!vm.crudPermissions.canEdit"
75 ng-messages="faxAccountFormApp['truepriority'].$error"
76 ng-show="faxAccountFormApp['truepriority'].$touched"
79 <div ng-message="required">
80 <span translate="FAX.ERRORS.TRUEPRIORITY_REQUIRED"
81 >truepriority field is required</span
84 <div ng-message="min">
86 translate="FAX.ERRORS.TRUEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO"
87 >truepriority must be a valid greater or equal than</span
93 <md-input-container class="md-block">
94 <label translate="FAX.FALSEPRIORITY">falsepriority</label>
98 ng-model="vm.gotoif.falsepriority"
101 ng-disabled="!vm.crudPermissions.canEdit"
105 ng-messages="faxAccountFormApp['falsepriority'].$error"
106 ng-show="faxAccountFormApp['falsepriority'].$touched"
109 <div ng-message="required">
110 <span translate="FAX.ERRORS.FALSEPRIORITY_REQUIRED"
111 >falsepriority field is required</span
114 <div ng-message="min">
116 translate="FAX.ERRORS.FALSEPRIORITY_MUST_BE_GREATER_THAN_OR_EQUAL_TO"
117 >falsepriority must be a valid greater or equal than</span
122 </md-input-container>
124 <div class="error-list">
126 ng-repeat="error in vm.errors"
129 layout-align="space-between center"
132 <span class="message">{{error.message}}</span>
133 <span class="type">({{error.type}})</span>
135 <md-button class="md-icon-button">
137 md-font-icon="icon-alert-box"
138 aria-label="alert error"
146 <md-dialog-actions layout="row" layout-align="space-between center">
149 layout-align="start center"
150 ng-if="vm.crudPermissions.canEdit"
154 ng-click="vm.saveFaxAccountApp()"
155 class="send-button md-accent md-raised"
156 ng-disabled="faxAccountFormApp.$invalid || faxAccountFormApp.$pristine"
159 translate-attr-aria-label="FAX.SAVE"