1 <md-dialog class="inboundroute-dialog" aria-label="New InboundRoute">
2 <form name="inboundrouteFormApp" 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="VOICE.APPLICATION_NAME">Application_Name</label>
45 ng-model="vm.custom.app"
48 ng-disabled="!vm.crudPermissions.canEdit"
52 ng-messages="inboundrouteFormApp['app'].$error"
53 ng-show="inboundrouteFormApp['app'].$touched"
56 <div ng-message="required">
57 <span translate="VOICE.ERRORS.APPLICATION_NAME_REQUIRED"
58 >Application_Name field is required</span
63 <md-input-container class="md-block">
64 <label translate="VOICE.ARGUMENTS">Arguments</label>
68 ng-model="vm.custom.appdata"
69 ng-disabled="!vm.crudPermissions.canEdit"
73 ng-messages="inboundrouteFormApp['appdata'].$error"
74 ng-show="inboundrouteFormApp['appdata'].$touched"
77 <div ng-message="required">
78 <span translate="VOICE.ERRORS.ARGUMENTS_REQUIRED"
79 >Arguments field is required</span
85 <div class="error-list">
87 ng-repeat="error in vm.errors"
90 layout-align="space-between center"
93 <span class="message">{{error.message}}</span>
94 <span class="type">({{error.type}})</span>
96 <md-button class="md-icon-button">
98 md-font-icon="icon-alert-box"
99 aria-label="alert error"
107 <md-dialog-actions layout="row" layout-align="space-between center">
110 layout-align="start center"
111 ng-if="vm.crudPermissions.canEdit"
115 ng-click="vm.saveInboundRouteApp()"
116 class="send-button md-accent md-raised"
117 ng-disabled="inboundrouteFormApp.$invalid || inboundrouteFormApp.$pristine"
119 translate="VOICE.SAVE"
120 translate-attr-aria-label="VOICE.SAVE"