Add help text on the username and password fields

This commit is contained in:
Joseph Schorr 2015-01-16 21:02:12 -05:00
parent 53e5fc6265
commit da4bcbbee0

View file

@ -283,6 +283,7 @@
<label>Username</label>
<input class="form-control" type="text" ng-model="superUser.username"
ng-pattern="/^[a-z0-9_]{4,30}$/" required>
<div class="help-text">Minimum 4 characters in length</div>
</div>
<div class="form-group">
@ -295,6 +296,7 @@
<input class="form-control" type="password" ng-model="superUser.password"
ng-pattern="/^[^\s]+$/"
ng-minlength="8" required>
<div class="help-text">Minimum 8 characters in length</div>
</div>
<div class="form-group">