<nav class="cr-nav"> <a class="pull-left logo" ui-sref="khan.classroom"><span class="icon-leaf"></span></a> </nav> <div class="cnt-md"> <form name="login-form" ng-submit="login()"> <div class="form-group"> <label for="exampleInputPassword1">{{ 'ADMIN_PASSWORD' | translate }}</label> <input type="password" class="form-control" ng-model="form.pw" id="exampleInputPassword1" placeholder="{{ 'ADMIN_PASSWORD' | translate }}"> </div> <div ng-show="formError" class="alert alert-danger" role="alert"> {{ 'ADMIN_LOGIN_FAIL' | translate }} </div> <button class="btn btn-info" type="submit">{{ 'ADMIN_LOGIN' | translate }}</button> </form> </div>