@model Project_Unite.Models.CreateUserModel @{ ViewBag.Title = "Create user"; ViewBag.Admin = true; }
If you are migrating users from a database, all you need is their email and username. We'll handle the rest - like making them reset their password and confirm their email.
@using (Html.BeginForm()) { @Html.AntiForgeryToken()| User email: | @Html.TextBoxFor(Model=>Model.Email, new{@class="form-control", type="email"}) |
| User display name: | @Html.TextBoxFor(Model => Model.Username, new { @class = "form-control" }) |