2014-12-11 07:25:26 +00:00
|
|
|
<div class="md_simple_modal_wrap" my-modal-position>
|
2014-03-24 12:13:34 +00:00
|
|
|
|
2014-12-11 07:25:26 +00:00
|
|
|
<div class="md_simple_modal_body">
|
2014-03-24 12:13:34 +00:00
|
|
|
|
2014-04-05 16:07:41 +00:00
|
|
|
<form class="modal_simple_form" ng-submit="doImport()">
|
|
|
|
|
2014-09-16 16:12:52 +00:00
|
|
|
<h4 my-i18n="contact_edit_modal_title"></h4>
|
2014-03-24 12:13:34 +00:00
|
|
|
|
2014-12-11 07:25:26 +00:00
|
|
|
<div class="md-input-group md-input-disabled" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_import_modal_phone"></label>
|
|
|
|
<span class="md-input" ng-bind="importContact.phone | phoneNumber"></span>
|
2014-03-24 12:13:34 +00:00
|
|
|
</div>
|
2014-12-11 07:25:26 +00:00
|
|
|
|
|
|
|
<div class="md-input-group" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_edit_modal_first_name"></label>
|
2014-12-31 17:07:27 +00:00
|
|
|
<input class="md-input" my-focused type="text" ng-model="importContact.first_name" my-submit-on-enter />
|
2014-03-24 12:13:34 +00:00
|
|
|
</div>
|
2014-12-11 07:25:26 +00:00
|
|
|
|
|
|
|
<div class="md-input-group" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_edit_modal_last_name"></label>
|
2014-12-31 17:07:27 +00:00
|
|
|
<input class="md-input" type="text" ng-model="importContact.last_name" my-submit-on-enter />
|
2014-03-24 12:13:34 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-12-11 07:25:26 +00:00
|
|
|
<div class="md_simple_modal_footer">
|
|
|
|
<button class="btn btn-md" ng-click="$dismiss()" my-i18n="modal_cancel"></button>
|
2015-01-15 20:11:01 +00:00
|
|
|
<button class="btn btn-md btn-md-primary" ng-class="{disabled: progress.enabled}" ng-click="doImport()" ng-bind="progress.enabled ? 'contact_edit_modal_submit_active' : 'contact_edit_modal_submit'| i18n" ng-disabled="progress.enabled"></button>
|
2014-04-05 16:07:41 +00:00
|
|
|
</div>
|
|
|
|
|
2014-12-11 07:25:26 +00:00
|
|
|
</div>
|