webogram-i2p/app/partials/desktop/edit_contact_modal.html
Igor Zhukov 870d0e2673 Improved login page
Moved countries modal to material
Removed a lot of old omg
Removed welcome page, moved intro to login
2014-12-31 18:07:27 +01:00

33 lines
1.3 KiB
HTML

<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_edit_modal_title"></h4>
<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>
</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" my-focused type="text" ng-model="importContact.first_name" my-submit-on-enter />
</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" my-submit-on-enter />
</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_edit_modal_submit_active' : 'contact_edit_modal_submit'| i18n" ng-disabled="progress.enabled"></button>
</div>
</div>