-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
27 lines (26 loc) · 1.5 KB
/
signup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<form name="myform">
<div class="form-group">
<label>First Name</label>
<input class="form-control" required type="text" ng-model="firstname" />
</div>
<div class="form-group">
<label>Last Name</label>
<input class="form-control" required type="text" ng-model="lastname" />
</div>
<div class="form-group">
<label>Email</label>
<input class="form-control" required type="email" ng-model="email" />
</div>
<div class="form-group">
<label>Password</label>
<input class="form-control" name="password" required type="password" ng-model="password" />
</div>
<div class="form-group">
<label>Confirm Password</label>
<input class="form-control" name="confirmpassword" required type="password" ng-model="confirmpassword" />
<span style="color:red;" data-attr-pp="{{password}}" data-attr-cp="{{confirmpassword}}" ng-show="password && confirmpassword && password!=confirmpassword" >Password and Confirm Password does not match</span>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Login" ng-click="vm.performsignup()" />
</div>
</form>