1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-15 00:24:09 +01:00
fab-manager/app/frontend/templates/profile/resend_code_modal.html

27 lines
1.5 KiB
HTML
Raw Normal View History

2016-12-14 17:14:53 +01:00
<div class="modal-header">
<img ng-src="{{logoBlack.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="modal-logo"/>
<h1 translate>{{ 'app.logged.profile_completion.send_code_again' }}</h1>
2016-12-14 17:14:53 +01:00
</div>
<div class="modal-body">
<form name="emailForm">
<label for="email" class="beforeAmount" translate>{{ 'app.logged.profile_completion.email_address_associated_with_your_account' }}</label>
2016-12-14 17:14:53 +01:00
<div class="input-group" ng-class="{'has-error': emailForm.email.$dirty && emailForm.email.$invalid }">
<span class="input-group-addon"><i class="fa fa-envelope"></i> </span>
<input class="form-control"
type="email"
id="email"
name="email"
ng-model="object.email"
required>
</div>
<span class="help-block error" ng-show="emailForm['email'].$dirty && emailForm['email'].$error.required" translate>{{'app.logged.profile_completion.email_is_required'}}</span>
<span class="help-block error" ng-show="emailForm['email'].$dirty && emailForm['email'].$error.email" translate>{{'app.logged.profile_completion.email_format_is_incorrect'}}</span>
2016-12-14 17:14:53 +01:00
</form>
</div>
<div class="modal-footer">
<button class="btn btn-info" ng-click="ok(object.email)" ng-disabled="emailForm.$invalid" translate>{{ 'app.shared.buttons.confirm' }}</button>
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'app.shared.buttons.cancel' }}</button>
2016-12-14 17:14:53 +01:00
</div>