67 lines
2.8 KiB
HTML
67 lines
2.8 KiB
HTML
<section class="row auth signup-view" data-ng-controller="AuthenticationController">
|
|
<!-- <h3 class="col-md-12 text-center">Sign up using your social accounts</h3>
|
|
<div class="col-md-12 text-center">
|
|
<a href="/auth/facebook" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/facebook.png">
|
|
</a>
|
|
<a href="/auth/twitter" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/twitter.png">
|
|
</a>
|
|
<a href="/auth/google" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/google.png">
|
|
</a>
|
|
<a href="/auth/linkedin" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/linkedin.png">
|
|
</a>
|
|
<a href="/auth/github" class="undecorated-link">
|
|
<img src="/modules/users/img/buttons/github.png">
|
|
</a>
|
|
</div> -->
|
|
<h3 class="col-md-12 text-center">Signup with your email</h3>
|
|
<div class="col-xs-offset-2 col-xs-8 col-md-offset-3 col-md-6">
|
|
<form name="userForm" data-ng-submit="signup()" class="signin form-horizontal" novalidate autocomplete="off">
|
|
<fieldset>
|
|
<div data-ng-show="error" id="signup_errors" class="text-center text-danger">
|
|
Couldn't complete registration due to errors: <br>
|
|
<strong data-ng-bind="error"></strong>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="firstName">{{ 'FIRST_NAME_LABEL' | translate }}</label>
|
|
<input type="text" ng-pattern="/^[a-zA-Z0-9 \-.]*$/" required id="firstName" name="firstName" class="form-control" ng-model="credentials.firstName" placeholder="First Name">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="lastName">{{ 'LAST_NAME_LABEL' | translate }}</label>
|
|
<input type="text" ng-pattern="/^[a-zA-Z0-9 \-.]*$/" required id="lastName" name="lastName" class="form-control" ng-model="credentials.lastName" placeholder="Last Name">
|
|
</div>
|
|
<div class="row form-group">
|
|
<div class="col-xs-7 field-title">
|
|
<b>{{ 'LANGUAGE_LABEL' | translate }}</b>
|
|
</div>
|
|
<div class="col-xs-12 field-input">
|
|
<select ng-model="user.language" required>
|
|
<option ng-repeat="language in languages"
|
|
ng-selected="language == user.language"
|
|
value="{{language}}">
|
|
{{language}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="form-group">
|
|
<label for="email">{{ 'EMAIL_LABEL' | translate }}</label>
|
|
<input type="email" id="email" name="email" class="form-control" ng-model="credentials.email" placeholder="Email">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">{{ 'PASSWORD_LABEL' | translate }}</label>
|
|
<input type="password" id="password" name="password" class="form-control" ng-model="credentials.password" placeholder="Password">
|
|
</div>
|
|
<div class="text-center form-group">
|
|
<button type="submit" class="btn btn-large btn-primary">{{ 'SIGNUP_BTN' | translate }}</button>
|
|
</div>
|
|
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</section>
|