<commit_before>@using notes.Helper;

@{
	ViewBag.Title = "Change Password - ";
}

<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">
			<i class="fa fa-key"></i> Change Password
		</h1>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
        <div class="row">
			<div class="col-lg-4">

				@if(Html.HasError("error")) {
					<div class="alert alert-danger">
						@Html.ErrorMessage("error")
					</div>
				}

				<form role="form" action="@Url.Action("security", "user")" method="post" enctype="multipart/form-data" id="security-form" >
					<div class="form-group">
						<label>Old Password</label>
						<input type="password" class="form-control" name="oldpassword" value="" />
					</div>
					<div class="form-group">
						<label>New Password</label>
						<input type="password" class="form-control" id="newpassword" name="newpassword" value="" />
					</div>
					<div class="form-group">
						<label>Confirm new password</label>
						<input type="password" class="form-control" name="confirmpassword" value="" />
					</div>
					<div class="form-group">
						<button type="submit" class="btn btn-primary">Change password</button>
					</div>
				</form>
			</div>
        </div>
	</div>
</div><commit_msg>Added cancel button to change password page.<commit_after>@using notes.Helper;

@{
	ViewBag.Title = "Change Password - ";
}

<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">
			<i class="fa fa-key"></i> Change Password
		</h1>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
        <div class="row">
			<div class="col-lg-4">

				@if(Html.HasError("error")) {
					<div class="alert alert-danger">
						@Html.ErrorMessage("error")
					</div>
				}

				<form role="form" action="@Url.Action("security", "user")" method="post" enctype="multipart/form-data" id="security-form" >
					<div class="form-group">
						<label>Old Password</label>
						<input type="password" class="form-control" name="oldpassword" value="" />
					</div>
					<div class="form-group">
						<label>New Password</label>
						<input type="password" class="form-control" id="newpassword" name="newpassword" value="" />
					</div>
					<div class="form-group">
						<label>Confirm new password</label>
						<input type="password" class="form-control" name="confirmpassword" value="" />
					</div>
					<div class="form-group">
						<button type="submit" class="btn btn-primary">Change password</button>
						<button type="button" class="btn btn-primary" data-href="@Url.Action("settings", "user", new { area = String.Empty })">Cancel</button>
					</div>
				</form>
			</div>
        </div>
	</div>
</div>
{'fraction_non_alphanumeric': 0.1976870256595591, 'fraction_numerical': 0.005059631369714492, 'mean_word_length': 2.8876404494382024, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5417916', 'n_tokens_mistral': 1145, 'n_tokens_neox': 904, 'n_words': 185}