<div class="modal-header">
	<h3 class="modal-title">{{ 'cpTitle' | translate }}</h3>
</div>

<form class="form-horizontal" role="form" ng-submit="submit()">

	<div class="modal-body">

		<div class="form-group">
			<label for="oldPasswordInput" class="col-sm-4 control-label">{{ 'cpOldPass' | translate }}</label>
			<div class="col-sm-8">
				<input type="password" class="form-control" id="oldPasswordInput" ng-model="oldPassword" placeholder="{{ 'cpOldPass' | translate }}">
			</div>
		</div>

		<div class="form-group">
			<label for="newPasswordInput" class="col-sm-4 control-label">{{ 'cpNewPass' | translate }}</label>
			<div class="col-sm-8">
				<input type="password" class="form-control" id="newPasswordInput" ng-model="newPassword" placeholder="{{ 'cpNewPass' | translate }}">
			</div>
		</div>

		<div class="form-group">
			<label for="passwordConfirmInput" class="col-sm-4 control-label">{{ 'cpPasswordConfirm' | translate }}</label>
			<div class="col-sm-8">
				<input type="password" class="form-control" id="passwordConfirmInput" ng-model="passwordConfirm" placeholder="{{ 'cpPasswordConfirm' | translate }}">
			</div>
		</div>


	</div>

	<div class="modal-footer">
		<button type="submit" class="btn btn-success">{{ 'cpSubmit' | translate }}</button>
		<button type="button" class="btn btn-default" ng-click="cancel()">{{ 'cancel' | translate }}</button>
	</div>

</form>

