1 <md-dialog class="cm-contact-dialog" aria-label="Merge Contact">
2 <form name="contactForm" 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"
41 <md-input-container class="md-block" flex-gt-sm>
44 ng-model="vm.searchTerm"
46 ng-model-options="{ debounce: 300 }"
47 ng-change="vm.change()"
52 <md-subheader class="md-no-sticky" ng-hide="vm.contacts.length"
53 ><em>Filter doesn't match any contact</em></md-subheader
57 ng-repeat="contact in vm.contacts | filter:{ id: '!' + vm.contact.id}"
58 ng-click="vm.showConfirm($event, vm.contact, contact)"
61 ng-src="assets/images/avatars/profile.png"
65 <div class="md-list-item-text" layout="column">
67 #{{ contact.id }} - {{ contact.firstName }} {{ contact.lastName }}
69 <h4>{{ contact.email }}</h4>
70 <p>{{ contact.phone }}</p>
75 <div class="error-list">
77 ng-repeat="error in vm.errors"
80 layout-align="space-between center"
83 <span class="message">{{error.message}}</span>
84 <span class="type">({{error.type}})</span>
86 <md-button class="md-icon-button">
88 md-font-icon="icon-alert-box"
89 aria-label="alert error"