Advertisement
Guest User

Untitled

a guest
May 24th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. @model PortfolioLib.Models.M_brokers
  2.  
  3. @{
  4. ViewBag.Title = "Create";
  5. <link href="@Url.Content("~/bootstrap/css/bootstrap.min.css")" rel="stylesheet" type="text/css">
  6. }
  7.  
  8. @*<h1 style="color:#3B89C5; font-family:Calibri; font-weight:bold;">Add Broker</h1>
  9. <div id="user">
  10. <h5 id="user">Welcome @Html.ActionLink(User.Identity.Name, "Index", "Account")</h5>
  11. </div>*@
  12.  
  13. @using (Html.BeginForm())
  14. {
  15. @Html.AntiForgeryToken()
  16.  
  17. <div class="form-horizontal">
  18. <p class="titlePage">Add a Brokers</p>
  19. @Html.ValidationSummary(true, "", new { @class = "text-danger" })
  20.  
  21. <div class="container-fluid">
  22. <div class="row justify-content-center">
  23. <div class="col-xl-3 col-lg-3 col-md-3 col-xs-2">
  24. @Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label labelInput" })
  25. @Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } })
  26. @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" })
  27. </div>
  28. <div class="col-xl-3 col-lg-3 col-md-3 col-xs-2">
  29. @Html.LabelFor(model => model.fee_id, htmlAttributes: new { @class = "control-label labelInput" })
  30. @Html.EditorFor(model => model.fee_id, new { htmlAttributes = new { @class = "form-control" } })
  31. @Html.ValidationMessageFor(model => model.fee_id, "", new { @class = "text-danger" })
  32. </div>
  33. </div>
  34. </div>
  35. <div class="container-fluid">
  36. <div class=" decale row justify-content-center ">
  37. <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
  38. @Html.LabelFor(model => model.equities, htmlAttributes: new { @class = "control-label labelInput" })
  39. @Html.EditorFor(model => model.equities, new { htmlAttributes = new { @class = "checkBoxInput" } })
  40. @Html.ValidationMessageFor(model => model.equities, "", new { @class = "text-danger" })
  41. </div>
  42. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  43. @Html.LabelFor(model => model.corporate_bonds, htmlAttributes: new { @class = "control-label labelInput" })
  44. @Html.EditorFor(model => model.corporate_bonds, new { htmlAttributes = new { @class = "checkBoxInput" } })
  45. @Html.ValidationMessageFor(model => model.corporate_bonds, "", new { @class = "text-danger" })
  46. </div>
  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. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  53. @Html.LabelFor(model => model.trs, htmlAttributes: new { @class = "control-label labelInput" })
  54. @Html.EditorFor(model => model.trs, new { htmlAttributes = new { @class = "checkBoxInput" } })
  55. @Html.ValidationMessageFor(model => model.trs, "", new { @class = "text-danger" })
  56. </div>
  57. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  58. @Html.LabelFor(model => model.futures, htmlAttributes: new { @class = "control-label labelInput" })
  59. @Html.EditorFor(model => model.futures, new { htmlAttributes = new { @class = "checkBoxInput" } })
  60. @Html.ValidationMessageFor(model => model.futures, "", new { @class = "text-danger" })
  61. </div>
  62. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  63. @Html.LabelFor(model => model.etf, htmlAttributes: new { @class = "control-label labelInput" })
  64. @Html.EditorFor(model => model.etf, new { htmlAttributes = new { @class = "checkBoxInput" } })
  65. @Html.ValidationMessageFor(model => model.etf, "", new { @class = "text-danger" })
  66. </div>
  67. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  68. @Html.LabelFor(model => model.fx, htmlAttributes: new { @class = "control-label labelInput" })
  69. @Html.EditorFor(model => model.fx, new { htmlAttributes = new { @class = "checkBoxInput" } })
  70. @Html.ValidationMessageFor(model => model.fx, "", new { @class = "text-danger" })
  71. </div>
  72. <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
  73. @Html.LabelFor(model => model.fund, htmlAttributes: new { @class = "control-label labelInput" })
  74. @Html.EditorFor(model => model.fund, new { htmlAttributes = new { @class = "checkboxInput" } })
  75. @Html.ValidationMessageFor(model => model.fund, "", new { @class = "text-danger" })
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80.  
  81. }
  82. <div class="lastSection container">
  83. <div class="row justify-content-center">
  84. <div class="col-xl-2 col-lg-2 col-md-2">
  85. <a class="buttonCreateBack" href="/Brokers/Index">Back to List</a>
  86. </div>
  87. <div class="col-xl-2 col-lg-2 col-md-2">
  88. <input type="submit" value="Create" class="buttonCreateBack" />
  89. </div>
  90. </div>
  91. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement