لاگینم >
@model Toranj_Co.Models.SetLogin
@{
ViewBag.Title = "login";
Layout = "~/Views/Shared/UserLayout.cshtml";
}
@using (Html.BeginForm()) {
@Html.ValidationSummary(true)
<div class="editor-label">
<b> @Html.Label("نام کاربری")</b>
</div>
<div class="editor-field">
@Html.TextBoxFor(model => model.UserName)
@*@Html.ValidationMessageFor(model => model.UserName)*@
</div>
<div class="editor-label">
<b> @Html.Label("رمز ورود")</b>
</div>
<div class="editor-field">
@Html.PasswordFor(model => model.Password)
@*@Html.ValidationMessageFor(model => model.Password)*@
</div>
<div class="editor-label">
<b> @Html.Label("رمز ورود")</b>
</div>
<div class="editor-field">
@Html.CheckBoxFor(model => model.RememberMe)
@Html.Label("مرا به خاطر بسپار")
@*@Html.ValidationMessageFor(model => model.Password)*@
</div>
<p>
<input type="submit" value="ورود" />
</p>
}
<div>
@Html.ActionLink("بازگشت/انصراف ", "Index")
</div>