File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/templates/client/app/account(auth)/login Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,23 @@ <h1>Login</h1>
1313 < div class ="form-group ">
1414 < label > Email</ label >
1515
16- < input type ="text " name ="email " class ="form-control " ng-model ="user.email ">
16+ < input type ="email " name ="email " class ="form-control " ng-model ="user.email " required >
1717 </ div >
1818
1919 < div class ="form-group ">
2020 < label > Password</ label >
2121
22- < input type ="password " name ="password " class ="form-control " ng-model ="user.password ">
22+ < input type ="password " name ="password " class ="form-control " ng-model ="user.password " required >
2323 </ div >
2424
2525 < div class ="form-group has-error ">
2626 < p class ="help-block " ng-show ="form.email.$error.required && form.password.$error.required && submitted ">
2727 Please enter your email and password.
2828 </ p >
29+ < p class ="help-block " ng-show ="form.email.$error.email && submitted ">
30+ Please enter a valid email.
31+ </ p >
32+
2933 < p class ="help-block "> {{ errors.other }}</ p >
3034 </ div >
3135
You can’t perform that action at this time.
0 commit comments