Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 KB | None | 0 0
  1. @model PortfolioLib.Models.M_custodians
  2.  
  3.  
  4. @using (Html.BeginForm())
  5. {
  6. @Html.AntiForgeryToken()
  7.  
  8. <div class="form-horizontal">
  9. <p class="titlePage">Edit "@Model.name"</p>
  10.  
  11.  
  12. @Html.ValidationSummary(true, "", new { @class = "text-danger" })
  13. @Html.HiddenFor(model => model.id)
  14.  
  15.  
  16. <div class="container-fluid">
  17. <div class="row justify-content-center">
  18. <div class="col-xl-3 col-lg-6 col-md-6 col-xs-6">
  19. @Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label labelInput" })
  20. @Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } })
  21. @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" })
  22. </div>
  23. <div class="col-xl-3 col-lg-6 col-md-6 col-xs-6">
  24. @Html.LabelFor(model => model.code, htmlAttributes: new { @class = "control-label labelInput" })
  25. @Html.EditorFor(model => model.code, new { htmlAttributes = new { @class = "form-control" } })
  26. @Html.ValidationMessageFor(model => model.code, "", new { @class = "text-danger" })
  27. </div>
  28. </div>
  29. </div>
  30.  
  31. <div class="container-fluid">
  32. <div class="row justify-content-center decale">
  33.  
  34. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  35. @Html.LabelFor(model => model.equities, htmlAttributes: new { @class = "control-label labelInput" })
  36. @Html.EditorFor(model => model.equities, new { htmlAttributes = new { @class = "checkboxInput" } })
  37. @Html.ValidationMessageFor(model => model.equities, "", new { @class = "text-danger" })
  38. </div>
  39.  
  40. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  41. @Html.LabelFor(model => model.corporate_bonds, htmlAttributes: new { @class = "control-label labelInput" })
  42. @Html.EditorFor(model => model.corporate_bonds, new { htmlAttributes = new { @class = "checkboxInput" } })
  43. @Html.ValidationMessageFor(model => model.corporate_bonds, "", new { @class = "text-danger" })
  44. </div>
  45.  
  46.  
  47. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  48. @Html.LabelFor(model => model.mmi, htmlAttributes: new { @class = "control-label labelInput" })
  49. @Html.EditorFor(model => model.mmi, new { htmlAttributes = new { @class = "checkboxInput" } })
  50. @Html.ValidationMessageFor(model => model.mmi, "", new { @class = "text-danger" })
  51. </div>
  52.  
  53. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  54. @Html.LabelFor(model => model.trs, htmlAttributes: new { @class = "control-label labelInput" })
  55. @Html.EditorFor(model => model.trs, new { htmlAttributes = new { @class = "checkboxInput" } })
  56. @Html.ValidationMessageFor(model => model.trs, "", new { @class = "text-danger" })
  57. </div>
  58.  
  59.  
  60.  
  61. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  62. @Html.LabelFor(model => model.futures, htmlAttributes: new { @class = "control-label labelInput" })
  63. @Html.EditorFor(model => model.futures, new { htmlAttributes = new { @class = "checkboxInput" } })
  64. @Html.ValidationMessageFor(model => model.futures, "", new { @class = "text-danger" })
  65. </div>
  66.  
  67.  
  68. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  69. @Html.LabelFor(model => model.etf, htmlAttributes: new { @class = "control-label labelInput" })
  70. @Html.EditorFor(model => model.etf, new { htmlAttributes = new { @class = "checkboxInput" } })
  71. @Html.ValidationMessageFor(model => model.etf, "", new { @class = "text-danger" })
  72. </div>
  73.  
  74.  
  75. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  76. @Html.LabelFor(model => model.fx, htmlAttributes: new { @class = "control-label labelInput" })
  77. @Html.EditorFor(model => model.fx, new { htmlAttributes = new { @class = "checkboxInput" } })
  78. @Html.ValidationMessageFor(model => model.fx, "", new { @class = "text-danger" })
  79. </div>
  80.  
  81.  
  82. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  83. @Html.LabelFor(model => model.fund, htmlAttributes: new { @class = "control-label labelInput" })
  84. @Html.EditorFor(model => model.fund, new { htmlAttributes = new { @class = "checkboxInput" } })
  85. @Html.ValidationMessageFor(model => model.fund, "", new { @class = "text-danger" })
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90.  
  91. }
  92. <div class="lastSection container">
  93. <div class="row justify-content-center">
  94. <div class="col-xl-2 col-lg-2 col-md-2">
  95. <input type="submit" value="Save" class="buttonCreateBack" />
  96. </div>
  97. <div class="col-xl-2 col-lg-2 col-md-2">
  98. <a class="buttonCreateBack" href="/Edit">Back to List</a>
  99. </div>
  100. </div>
  101. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement