@model CPE.App.Web.Models.RegisterViewModel @{ ViewBag.Title = "Register"; }

@ViewBag.Title.

@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken()

Create a new account.


@Html.ValidationSummary("", new { @class = "text-danger" })
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" })
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.Password, new { @class = "form-control" })
@Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }