Files
meanTorrent/modules/users/client/views/authentication/signin.client.view.html
Igor Freire 5d4d7cecfe Make emails unique
Emails are made unique. When user attempts to sign in through a provider in which his email is one that is already registered, user is redirected to the signin page with an error passed as a query string parameter.
2015-07-17 14:52:27 -03:00

31 lines
1.2 KiB
HTML

<div data-ng-controller="AuthenticationController">
<h3 class="col-md-12 text-center">Or with your account</h3>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2">
<form data-ng-submit="signin()" class="signin form-horizontal" autocomplete="off">
<fieldset>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" class="form-control"
data-ng-model="credentials.username" placeholder="Username">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" class="form-control"
data-ng-model="credentials.password" placeholder="Password">
</div>
<div class="text-center form-group">
<button type="submit" class="btn btn-primary">Sign in</button>
&nbsp; or&nbsp;
<a data-ui-sref="authentication.signup">Sign up</a>
</div>
<div class="text-center forgot-password">
<a data-ui-sref="password.forgot">Forgot your password?</a>
</div>
<alert type="danger" data-ng-show="error" class="text-center text-danger">
<span data-ng-bind="error"></span>
</alert>
</fieldset>
</form>
</div>
</div>