1 <md-dialog class="tag-dialog" aria-label="tag">
2 <form name="tagForm" class="md-inline-form" novalidate>
3 <md-toolbar class="md-background-bg">
5 class="md-toolbar-tools"
7 layout-align="space-between center"
9 <span class="title" translate="DASHBOARDS.TAGS"></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">
42 ng-model="vm.interaction.Tags"
44 md-require-match="vm.autocompleteRequireMatch"
47 ng-blur="vm.searchText = ''"
49 md-selected-item-change="vm.selectedItemChange"
50 md-selected-item="vm.selectedItem"
51 md-search-text="vm.searchText"
52 md-items="item in vm.tags.rows | filter:{ name: vm.searchText }"
53 md-item-text="item.name"
54 placeholder="Search for a tag"
56 <span md-highlight-text="vm.searchText">{{item.name}}</span>
60 <strong>{{$chip.name}}</strong>
66 <div class="error-list">
68 ng-repeat="error in vm.errors"
71 layout-align="space-between center"
74 <span class="message">{{error.message}}</span>
75 <span class="type">({{error.type}})</span>
77 <md-button class="md-icon-button">
79 md-font-icon="icon-alert-box"
80 aria-label="alert error"
88 <md-dialog-actions layout="row" layout-align="space-between center">
89 <div layout="row" layout-align="start center">
92 ng-click="vm.saveTag(false)"
93 ng-disabled="tagForm.$pristine"
94 class="send-button md-accent md-raised"
96 translate="DASHBOARDS.SAVE"
97 translate-attr-aria-label="DASHBOARDS.SAVE"