68 lines
2.2 KiB
Plaintext
68 lines
2.2 KiB
Plaintext
@using BuildFeed.ActionModel
|
|
@model RegistrationUser
|
|
|
|
@{
|
|
ViewBag.Title = $"{VariantTerms.Support_Register} | {InvariantTerms.SiteName}";
|
|
Html.EnableClientValidation();
|
|
Html.EnableUnobtrusiveJavaScript();
|
|
}
|
|
|
|
<h1>@VariantTerms.Support_Register</h1>
|
|
|
|
@using (Html.BeginForm())
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
|
|
if (ViewData["ErrorMessage"] != null)
|
|
{
|
|
<p class="text-danger">
|
|
@ViewData["ErrorMessage"]
|
|
</p>
|
|
}
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.UserName)
|
|
<div>
|
|
@Html.TextBoxFor(model => model.UserName)
|
|
@Html.ValidationMessageFor(model => model.UserName)
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.Password)
|
|
<div>
|
|
@Html.PasswordFor(model => model.Password)
|
|
@Html.ValidationMessageFor(model => model.Password)
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.ConfirmPassword)
|
|
<div>
|
|
@Html.PasswordFor(model => model.ConfirmPassword)
|
|
@Html.ValidationMessageFor(model => model.ConfirmPassword)
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
@Html.LabelFor(model => model.EmailAddress)
|
|
<div class="col-md-10">
|
|
@Html.TextBoxFor(model => model.EmailAddress)
|
|
@Html.ValidationMessageFor(model => model.EmailAddress)
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<span class="label-placeholder"></span>
|
|
<div>
|
|
<input type="submit" value="@VariantTerms.Support_Register" />
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@section Scripts
|
|
{
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js" integrity="sha256-F6h55Qw6sweK+t7SiOJX+2bpSAa3b/fnlrVCJvmEj1A=" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/3.2.6/jquery.validate.unobtrusive.min.js" integrity="sha256-g1QKGxqsp+x5JkuN/JjHl96je2wztgS5Wo4h4c7gm9M=" crossorigin="anonymous"></script>
|
|
} |