You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
@using RegistrationForm.Models;
|
|
@model RegistrationForm.Models.Employ_Table
|
|
|
|
@{
|
|
ViewBag.Title = "Login";
|
|
}
|
|
|
|
@using (Html.BeginForm("Login", "Home", FormMethod.Post))
|
|
{
|
|
<fieldset>
|
|
<legend> 로그인 페이지 입니다. </legend>
|
|
|
|
@Html.AntiForgeryToken()
|
|
@Html.ValidationSummary(true)
|
|
@if (@ViewBag.Message != null)
|
|
{
|
|
<div style="border: 1px solid red">
|
|
@ViewBag.Message
|
|
</div>
|
|
}
|
|
<table>
|
|
<tr>
|
|
<td>@Html.LabelFor(a => a.EmployNum)</td>
|
|
<td>@Html.TextBoxFor(a => a.EmployNum)</td>
|
|
<td>@Html.ValidationMessageFor(a => a.EmployNum)</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
@Html.LabelFor(a => a.Password)
|
|
</td>
|
|
<td>
|
|
@Html.PasswordFor(a => a.Password)
|
|
</td>
|
|
<td>
|
|
@Html.ValidationMessageFor(a => a.Password)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<input type="submit" value="Login" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
}
|