<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %> <%@ Import Namespace="Portoa.Web.Util" %> Create Admin

Create Admin

<%= Html.ValidationSummary("Some errors occurred") %> <% using (Html.BeginForm()) { %>

<%= Html.LabelFor(model => model.UserId) %> <%= Html.ValidationMessageFor(model => model.UserId) %>
<%= Html.DropDownListFor(model => model.UserId, Model.GetUserList()) %>

<%= Html.LabelFor(model => model.Username) %> <%= Html.ValidationMessageFor(model => model.Username) %>
<%= Html.TextBoxFor(model => model.Username) %>

<%= Html.LabelFor(model => model.Password) %> <%= Html.ValidationMessageFor(model => model.Password) %>
<%= Html.PasswordFor(model => model.Password) %>

<%= Html.Submit("Create Admin") %> <% } %>