1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/assets/templates/profile/_token.html.erb

29 lines
1.6 KiB
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
<section class="panel panel-default bg-token m-lg">
<div class="panel-body m-r">
<h3 translate>{{ 'do_you_already_have_an_account' }}</h3>
<p ng-hide="hasDuplicate()" translate>{{ 'do_not_fill_the_form_beside_but_specify_here_the_code_you_ve_received_by_email_to_recover_your_access' }}</p>
<p ng-show="hasDuplicate()" translate>{{ 'just_specify_code_here_to_recover_access' }}</p>
2016-03-23 18:39:41 +01:00
<div class="row">
<div class="col-lg-3 col-lg-offset-1 hidden-md col-sm-3 col-sm-offset-1"></div>
<div class="col-lg-offset-1 col-lg-6 col-md-12 col-sm-offset-1 col-sm-6">
2016-03-23 18:39:41 +01:00
<div class="form-group" ng-class="{'has-error': userForm['user[auth_token]'].$dirty && userForm['user[auth_token]'].$invalid}">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-key"></i></span>
<input type="text"
ng-model="user.auth_token"
class="form-control"
name="user[auth_token]"
placeholder="{{ 'authentification_code' | translate }}"/>
</div>
</div>
</div>
</div>
</div>
<div class="panel-footer no-padder">
<input type="button"
value="{{ 'confirm_my_code' | translate }}"
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
ng-hide="!user.auth_token"
ng-click="registerAuthToken()"/>
</div>
</section>