Style contact editor (email addresses with select)

pull/91/head
iRouge 2015-02-24 23:02:13 -05:00 committed by Francis Lachapelle
parent 6b58f3a080
commit fe071a5435
1 changed files with 10 additions and 11 deletions

View File

@ -121,21 +121,20 @@
<div class="section">
<div class="attr" data-ng-repeat="email in card.emails">
<div class="action">
<span class="button alert icon" data-ng-click="card.$delete('emails', $index)">
<i class="md-icon-remove-circle-outline"><!-- remove --></i>
</span>
</div>
<div class="md-layout-margin" layout="row" layout-align="space-between end">
<select class="md-select" data-ng-model="email.type" data-ng-options="type for type in allEmailTypes">
<!-- email types -->
</select>
<md-input-container>
<input type="email" label:placeholder="email address" data-ng-model="email.value"
data-sg-focus-on="email_{{$index}}"/>
</md-input-container>
<md-input-container>
<label class="pseudo-input-label"><var:string label:value="New Email Address"/></label>
<input type="email" data-ng-model="email.value"
data-sg-focus-on="email_{{$index}}"/>
</md-input-container>
<md-button class="icon" data-ng-click="card.$delete('emails', $index)">
<i class="md-icon-remove-circle"><!-- remove --></i>
</md-button>
</div>
</div>