1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2024-08-25 04:06:57 +02:00
RSystem-MVC-Fork/RSystem/Views/Account/Register.cshtml

70 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2018-04-17 11:20:49 +02:00
@model RSystem.Models.RegisterViewModel
@{
ViewBag.Title = "Rejestracja";
}
<div class="container py-20">
<div class="row">
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new {@class = "form-horizontal", role = "form"}))
{
<div class="col-md-6">
@Html.AntiForgeryToken()
<section class="form-section">
<header>Podstawowe informacje</header>
<div class="p-20">
<div class="form-group">
@Html.LabelFor(m => m.PESEL, new {@class = "control-label required"})
@Html.TextBoxFor(m => m.PESEL, new {@class = "form-control fs-19"})
@Html.ValidationMessageFor(m => m.PESEL, "", new { @class = "text-danger fs-16" })
</div>
<div class="form-group">
@Html.LabelFor(m => m.Email, new {@class = "control-label required"})
@Html.TextBoxFor(m => m.Email, new {@class = "form-control fs-19"})
@Html.ValidationMessageFor(m => m.Email,"", new { @class = "text-danger fs-16" })
</div>
</div>
</section>
<section class="form-section">
<header>Hasło</header>
<div class="p-20">
<div class="form-group">
@Html.LabelFor(m => m.Password, new {@class = "control-label required"})
@Html.TextBoxFor(m => m.Password, new {@class = "form-control fs-25", type = "password"})
@Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger fs-16" })
</div>
<div class="form-group">
@Html.LabelFor(m => m.ConfirmPassword, new {@class = "control-label required"})
@Html.TextBoxFor(m => m.ConfirmPassword, new {@class = "form-control fs-25", type = "password"})
@Html.ValidationMessageFor(m => m.ConfirmPassword, "", new { @class = "text-danger fs-16" })
@Html.ValidationSummary("", new { @class = "text-danger fs-16" })
</div>
</div>
</section>
<div class="form-group mt-20" style="padding: 20px 20px 0px 20px;">
<input type="submit" class="submit-blue big-btn" value="Zarejestruj się!"/>
</div>
</div>
<div class="col-md-6">
</div>
}
</div>
</div>
@section Scripts {
@Scripts.Render("~/bundles/jqueryval")
<script>
$(document).ready(function() {
$('.required').prepend('<span class="glyphicon glyphicon-asterisk"></span>');
});
</script>
}
@section DedicatedStyles
{
<link rel="stylesheet" href="~/Content/css/HomeData.css"/>
}