Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <div class="form-group">
  2. @Html.LabelFor(model => model.StaffId, "StaffId", htmlAttributes: new { @class = "control-label col-md-2" })
  3. <div class="col-md-10">
  4. @Html.TextBoxFor(model => model.StaffId, new { @Value = ViewBag.StaffId, @readonly = "readonly", @class = "form-control" })
  5. @Html.ValidationMessageFor(model => model.StaffId, "", new { @class = "text-danger" })
  6. </div>
  7. </div>
  8.  
  9. <div class="form-group">
  10. @Html.LabelFor(model => model.StaffInfo.Cname, htmlAttributes: new { @class = "control-label col-md-2" })
  11. <div class="col-md-10">
  12. @Html.TextBoxFor(model => model.StaffInfo.Cname, new { @Value = ViewBag.CName, @readonly = "readonly", @class = "form-control" })
  13. @Html.ValidationMessageFor(model => model.StaffInfo.Cname, "", new { @class = "text-danger" })
  14. </div>
  15. </div>
  16.  
  17. <div class="form-group">
  18. @Html.LabelFor(model => model.Tdate, htmlAttributes: new { @class = "control-label col-md-2" })
  19. <div class="col-md-10">
  20. @Html.EditorFor(model => model.Tdate, new { htmlAttributes = new { @class = "form-control" } })
  21. @Html.ValidationMessageFor(model => model.Tdate, "", new { @class = "text-danger" })
  22. </div>
  23. </div>
  24.  
  25. <div class="form-group">
  26. @Html.LabelFor(model => model.Edate, htmlAttributes: new { @class = "control-label col-md-2" })
  27. <div class="col-md-10">
  28. @Html.EditorFor(model => model.Edate, new { htmlAttributes = new { @class = "form-control" } })
  29. @Html.ValidationMessageFor(model => model.Edate, "", new { @class = "text-danger" })
  30. </div>
  31. </div>
  32.  
  33. <div class="form-group">
  34. @Html.LabelFor(model => model.StaffId, "StaffId", htmlAttributes: new { @class = "control-label col-md-2" })
  35. <div class="col-md-10">
  36. @Html.TextBoxFor(model => model.StaffId, new { @Value = ViewBag.StaffId, @readonly = "readonly", @class = "form-control" })
  37. @Html.ValidationMessageFor(model => model.StaffId, "", new { @class = "text-danger" })
  38. </div>
  39. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement