<topnav title="{{contextSrv.user.name}}" section="Profile" icon="fa fa-user" subnav="true">
	<ul class="nav">
		<li><a href="profile">Overview</a></li>
		<li class="active"><a href="profile/password">Change password</a></li>
	</ul>
</topnav>

<div class="page-container">
	<div class="page">

		<h2>Change password</h2>

		<form name="userForm">
			<div>
				<div class="tight-form">
					<ul class="tight-form-list">
						<li class="tight-form-item" style="width: 100px">
							<strong>Old Password</strong>
						</li>
						<li>
							<input type="password" required ng-model="command.oldPassword" class="input-xxlarge tight-form-input last" >
						</li>
					</ul>
					<div class="clearfix"></div>
				</div>
				<div class="tight-form" style="margin-top: 5px">
					<ul class="tight-form-list">
						<li class="tight-form-item" style="width: 100px">
							<strong>New Password</strong>
						</li>
						<li>
							<input type="password" required ng-model="command.newPassword" ng-minlength="4" class="input-xxlarge tight-form-input last" >
						</li>
					</ul>
					<div class="clearfix"></div>
				</div>
				<div class="tight-form" style="margin-top: 5px">
					<ul class="tight-form-list">
						<li class="tight-form-item" style="width: 100px">
							<strong>Confirm New</strong>
						</li>
						<li>
							<input type="password" required ng-model="command.confirmNew" ng-minlength="4" class="input-xxlarge tight-form-input last" >
						</li>
					</ul>
					<div class="clearfix"></div>
				</div>
			</div>

			<br>
			<button type="submit" class="pull-right btn btn-success" ng-click="changePassword()">Change Password</button>
		</form>

	</div>
</div>

