<div class="container" id="login-form">
	<a href="#/login" class="login-logo"><img masked-image src="assets/img/logo-big.png"></a>
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<form name="form" class="form-horizontal" ng-submit="vm._login(vm.auth, vm.remember_me)" novalidate>
				<div class="panel panel-default">
					<div class="panel-heading">
						<h2>Login</h2>
					</div>
					<div class="panel-body">
						<div class="form-group mb-md">
							<div class="col-xs-12">
								<div class="input-group">							
									<span class="input-group-addon">
										<i class="ti ti-user"></i>
									</span>
									<input type="email" class="form-control" placeholder="Email *" name="email" id="email" ng-model="vm.auth.email" ng-required="true">
								</div>
								<p class="help-block" ng-show="form.email.$touched && form.email.$error.required">Value is required.</p>
								<p class="help-block" ng-show="form.email.$touched && form.email.$error.email">Invalid email.</p>
							</div>
						</div>
						<div class="form-group mb-md">
							<div class="col-xs-12">
								<div class="input-group">
									<span class="input-group-addon">
										<i class="ti ti-key"></i>
									</span>
									<input type="password" class="form-control" placeholder="Password *" name="password" id="password" ng-model="vm.auth.password" ng-required="true">
								</div>
								<p class="help-block" ng-show="form.password.$touched && form.password.$error.required">Value is required.</p>
							</div>
						</div>
						<div class="form-group mb-n">
							<div class="col-xs-12">
								<a href="#/forgot-password" class="pull-left">Forgot password?</a>
								<div class="pull-right p-n">
									<input type="checkbox" ng-model="vm.remember_me"></input> Remember me
								</div>
							</div>
						</div>
					</div>
					<div class="panel-footer">
						<div class="clearfix">
							<a href="#/register" class="btn btn-default pull-left">Register</a>
							<button type="submit" ng-disabled="!form.$valid" class="btn btn-primary pull-right">Login</button>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>