<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/SleisLayout.Master" %> <%-- Edit --%>

Create User

<% Html.ValidationSummary("Please correct the errors and try again"); %> <% using (Html.BeginForm()) { %>

<%: Html.LabelFor(x=>x.Email,"Email Address:") %> <%: Html.TextBoxFor(x => x.Email, new { @class = "text-input wide-input required", @maxlength = "255" })%> <%: Html.ValidationMessageFor(x => x.Email)%>

<%: Html.LabelFor(x=>x.FullName,"Full Name:") %> <%: Html.TextBoxFor(x => x.FullName, new { @class = "text-input wide-input required", @maxlength = "50" })%> <%: Html.ValidationMessageFor(x => x.FullName)%>

<%: Html.LabelFor(x=>x.Title,"Title:") %> <%: Html.TextBoxFor(x => x.Title, new { @class = "text-input wide-input", @maxlength = "50" })%> <%: Html.ValidationMessageFor(x=>x.Title) %>

<%: Html.LabelFor(x => x.Org, "Organization:")%> <%: Html.TextBoxFor(x => x.Org, new { @class = "text-input wide-input", @maxlength = "50" })%> <%: Html.ValidationMessageFor(x => x.Org)%>

<%: Html.LabelFor(x => x.Type, "Type:")%> <%: Html.DropDownListFor(x => x.Type, ViewData[Lists.SleisUserTypeTypeListName] as IEnumerable, new { @class = "text-input wide-input" })%> <%: Html.ValidationMessageFor(x => x.Type)%>

<%: Html.ActionLink("Cancel", "Home", "Public", null, new { @class = "cancelButton" })%>

<%} %>