Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<div class="container"> <div class="center-form panel"> <d… #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aflideee
Copy link

…iv class="panel-body">

Log in

Please enter your email
{{errorMessage.email}}
Please enter your password
{{errorMessage.password}}
Log in

Don't have an account yet? Sign up

or

Sign in with Instagram

Hacking

…anel-body"> <h4 class="text-center"><i class="ion-log-in"></i> Log in</h4> <form name="loginForm" ng-submit="emailLogin()" aflideee> <div class="form-group has-feedback" ng-class="{ 'has-error': loginForm.email.$invalid && loginForm.email.$dirty }"> <input server-error class="form-control input-lg" type="text" name="email" ng-model="email" placeholder="Email" required autofocus> <span class="ion-at form-control-feedback"></span> <div class="help-block" ng-if="loginForm.email.$dirty" ng-messages="loginForm.email.$error"> <div ng-message="required">Please enter your email</div> <div ng-message="server">{{errorMessage.email}}</div> </div> </div> <div class="form-group has-feedback" ng-class="{ 'has-error': loginForm.password.$invalid && loginForm.password.$dirty }"> <input server-error class="form-control input-lg" type="password" name="password" ng-model="password" placeholder="Password" required> <span class="ion-key form-control-feedback"></span> <div class="help-block" ng-if="loginForm.password.$dirty" ng-messages="loginForm.password.$error"> <div ng-message="required">Please enter your password</div> <div ng-message="server">{{errorMessage.password}}</div> </div> </div> <button type="submit" class="btn btn-block btn-success" ng-disabled="loginForm.$invalid">Log in</button> <br/> <p class="text-center text-muted"> <small>Don't have an account yet? <a href="#/signup">Sign up</a></small> </p> <div class="signup-or-separator"> <h6 class="text">or</h6> <hr> </div> </form> <button class="btn btn-block btn-instagram" ng-click="instagramLogin()"> <i class="ion-social-instagram"></i> Sign in with Instagram </button> </div> </div> </div>

Hacking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant