Final niceness commit.

This commit is contained in:
John Mitchell
2015-01-30 14:38:36 -05:00
parent d688064869
commit 121de37a32

View File

@@ -12,7 +12,7 @@
<label class="control-label">Username:</label> <label class="control-label">Username:</label>
<div class="controls"> <div class="controls">
<input type="text" name="login_username" ng-model="login_username" id="login-username" autocomplete="off" required><br /> <input type="text" name="login_username" ng-model="login_username" id="login-username" autocomplete="off" required><br />
<span class="error" ng-show="loginForm.login_username.$dirty && loginForm.login_username.$error.required">A value is required.</span> <span class="error" ng-show="loginForm.login_username.$dirty && loginForm.login_username.$error.required">Please enter a username.</span>
<span class="error api-error" ng-bind="usernameError"></span> <span class="error api-error" ng-bind="usernameError"></span>
</div> </div>
</div> </div>
@@ -20,7 +20,7 @@
<label class="control-label">Password:</label> <label class="control-label">Password:</label>
<div class="controls"> <div class="controls">
<input type="password" name="login_password" id="login-password" ng-model="login_password" required autocomplete="off"><br /> <input type="password" name="login_password" id="login-password" ng-model="login_password" required autocomplete="off"><br />
<span class="error" ng-show="loginForm.login_password.$dirty && loginForm.login_password.$error.required">A value is required.</span> <span class="error" ng-show="loginForm.login_password.$dirty && loginForm.login_password.$error.required">Please enter a password.</span>
<span class="error api-error" ng-bind="passwordError"></span> <span class="error api-error" ng-bind="passwordError"></span>
</div> </div>
</div> </div>