OSS인증 - 팀장 : 서영민 - 팀원 : 김현, 박상진, 박승영, 윤동수, 김성미
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.

70 lines
2.4 KiB

4 years ago
  1. @model RegistrationForm.Models.Employ_Table
  2. @{
  3. ViewBag.Title = "Index";
  4. Layout = null;
  5. }
  6. <!DOCTYPE html>
  7. <html lang="ko">
  8. <head>
  9. <title> 회원가입 </title>
  10. <meta name="viewport" content="width=device-width" />
  11. </head>
  12. <body>
  13. @using (Html.BeginForm())
  14. {
  15. @Html.AntiForgeryToken()
  16. <div class="form-horizontal">
  17. <h4>회원가입 페이지 입니다.</h4>
  18. <hr/>
  19. @Html.ValidationSummary(true, "", new { @class = "text-danger" })
  20. <div class="form-group">
  21. @Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "control-label col-md-2" })
  22. <div class="col-md-10">
  23. @Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } })
  24. @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" })
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. @Html.LabelFor(model => model.EmployNum, htmlAttributes: new { @class = "control-label col-md-2" })
  29. <div class="col-md-10">
  30. @Html.EditorFor(model => model.EmployNum, new { htmlAttributes = new { @class = "form-control" } })
  31. @Html.ValidationMessageFor(model => model.EmployNum, "", new { @class = "text-danger" })
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. @Html.LabelFor(model => model.Password, htmlAttributes: new { @class = "control-label col-md-2" })
  36. <div class="col-md-10">
  37. @Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control" } })
  38. @Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <div class="col-md-offset-2 col-md-10">
  43. <input id="create" type="submit" value="Create" class="btn btn-default" />
  44. </div>
  45. </div>
  46. </div>
  47. }
  48. <style>
  49. #create{
  50. background-color : lightcyan;
  51. border-color : black;
  52. border-width : 3px;
  53. }
  54. </style>
  55. <div>
  56. @Html.ActionLink("Back to List", "Main")
  57. </div>
  58. @section Scripts {
  59. @Scripts.Render("~/bundles/jqueryval")
  60. }
  61. </body>
  62. </html>