1 <md-dialog class="project-dialog" aria-label="New dialog">
2 <form name="newForm" 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"
10 ><span translate="CALLYSQUARE.COPY_PROJECT"></span
12 <md-button class="md-icon-button" ng-click="vm.closeDialog()">
14 md-font-icon="icon-close"
15 aria-label="Close dialog"
20 <md-dialog-content ms-scroll>
21 <div class="error-list">
23 ng-repeat="error in vm.errors"
26 layout-align="space-between center"
29 <span class="message">{{error.message}}</span>
30 <span class="type">({{error.type}})</span>
32 <md-button class="md-icon-button">
34 md-font-icon="icon-alert-box"
35 aria-label="alert error"
41 <md-input-container class="md-block">
42 <label translate="CALLYSQUARE.NAME">Name</label>
43 <input name="name" ng-model="vm.project.name" required md-autofocus />
45 ng-messages="newForm.name.$error"
46 ng-show="newForm.name.$touched"
49 <div ng-message="required">
50 <span translate="CALLYSQUARE.ERRORS.NAME_REQUIRED"
51 >Name field is required</span
56 <md-input-container class="md-block">
58 ng-model="vm.newWindow"
59 aria-label="{{'CALLYSQUARE.OPEN_NEW_WINDOW' | translate }}"
60 ><span translate="CALLYSQUARE.OPEN_NEW_WINDOW"></span
63 <div class="error-list">
65 ng-repeat="error in vm.errors"
68 layout-align="space-between center"
71 <span class="message">{{error.message}}</span>
72 <span class="type">({{error.type}})</span>
74 <md-button class="md-icon-button">
76 md-font-icon="icon-alert-box"
77 aria-label="alert error"
85 <md-dialog-actions layout="row" layout-align="space-between center">
86 <div layout="row" layout-align="start center">
90 class="send-button md-accent md-raised"
91 ng-disabled="newForm.$invalid"
93 translate="CALLYSQUARE.COPY_PROJECT"
94 translate-attr-aria-label="CALLYSQUARE.COPY"