2010-09-09 17:02:04 -07:00
|
|
|
@model Orchard.Users.ViewModels.UserCreateViewModel
|
|
|
|
|
|
|
|
<h1>@Html.TitleForPage(T("Add User").ToString()) </h1>
|
|
|
|
@using (Html.BeginFormAntiForgeryPost()) {
|
|
|
|
@Html.ValidationSummary()
|
|
|
|
|
|
|
|
<fieldset>
|
2010-10-19 12:12:03 -07:00
|
|
|
@Html.LabelFor(m => m.UserName, T("User Name"))
|
2010-09-09 17:02:04 -07:00
|
|
|
@Html.TextBoxFor(m=>m.UserName, new { @class = "textMedium" })
|
|
|
|
@Html.ValidationMessageFor(m=>m.UserName, "*")
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
2010-10-19 12:12:03 -07:00
|
|
|
@Html.LabelFor(m => m.Email, T("Email"))
|
2010-09-09 17:02:04 -07:00
|
|
|
@Html.TextBoxFor(m=>m.Email, new { @class = "textMedium" })
|
|
|
|
@Html.ValidationMessageFor(m=>m.Email, "*")
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
2010-10-19 12:12:03 -07:00
|
|
|
@Html.LabelFor(m => m.Password, T("Password"))
|
2010-09-09 17:02:04 -07:00
|
|
|
@Html.PasswordFor(m=>m.Password, new { @class = "textMedium" })
|
|
|
|
@Html.ValidationMessageFor(m=>m.Password, "*")
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
2010-10-19 12:12:03 -07:00
|
|
|
@Html.LabelFor(m => m.ConfirmPassword, T("Confirm Password"))
|
2010-09-09 17:02:04 -07:00
|
|
|
@Html.PasswordFor(m=>m.ConfirmPassword, new { @class = "textMedium" })
|
|
|
|
@Html.ValidationMessageFor(m=>m.ConfirmPassword, "*")
|
|
|
|
</fieldset>
|
|
|
|
|
2010-10-05 14:45:12 -07:00
|
|
|
@Display(Model.User)
|
|
|
|
|
2010-09-09 17:02:04 -07:00
|
|
|
<fieldset>
|
|
|
|
<input class="button primaryAction" type="submit" value="@T("Add")" />
|
|
|
|
</fieldset>
|
|
|
|
}
|