Skip to content

Commit

Permalink
added registration form
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccutchanwd committed Feb 16, 2017
1 parent a8e15c0 commit 83a8c19
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions partials/register.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<div>
<h2>Register</h2>
<a class="btn btn-danger" ui-sref="start">Cancel</a>
<div>
<h2>Register</h2>
</div>
<div ng-show="loginCtrl.error">
<span>{{ loginCtrl.error.message }}</span>
</div>
<form ng-submit="loginCtrl.register()">
<input type="email" class="form-control" placeholder="Email" ng-model="loginCtrl.user.email">
<br>
<input type="password" class="form-control" placeholder="Password" ng-model="loginCtrl.user.password">
<br>
<input type="submit" class="btn btn-primary" value="Register">
<a class="btn btn-danger" ui-sref="start">Cancel</a>
</form>
</div>

0 comments on commit 83a8c19

Please sign in to comment.