|
|
|
<div class="md_simple_modal_wrap" my-modal-position>
|
|
|
|
|
|
|
|
<div class="md_simple_modal_body">
|
|
|
|
|
|
|
|
<form class="modal_simple_form" ng-submit="doImport()">
|
|
|
|
|
|
|
|
<h4 my-i18n="contact_import_modal_title"></h4>
|
|
|
|
|
|
|
|
<div class="md-input-group" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_import_modal_phone"></label>
|
|
|
|
<input class="md-input" my-focused type="text" ng-model="importContact.phone" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-input-group" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_edit_modal_first_name"></label>
|
|
|
|
<input class="md-input" type="text" ng-model="importContact.first_name" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-input-group" my-labeled-input>
|
|
|
|
<label class="md-input-label" my-i18n="contact_edit_modal_last_name"></label>
|
|
|
|
<input class="md-input" type="text" ng-model="importContact.last_name" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md_simple_modal_footer">
|
|
|
|
<button class="btn btn-md" ng-click="$dismiss()" my-i18n="modal_cancel"></button>
|
|
|
|
<button class="btn btn-md" ng-class="{disabled: progress.enabled}" ng-click="doImport()" ng-bind="progress.enabled ? 'contact_import_modal_submit_active' : 'contact_import_modal_submit' | i18n" ng-disabled="progress.enabled"></button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|