Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model PortfolioLib.Models.M_brokers
- @{
- ViewBag.Title = "Create";
- <link href="@Url.Content("~/bootstrap/css/bootstrap.min.css")" rel="stylesheet" type="text/css">
- }
- @*<h1 style="color:#3B89C5; font-family:Calibri; font-weight:bold;">Add Broker</h1>
- <div id="user">
- <h5 id="user">Welcome @Html.ActionLink(User.Identity.Name, "Index", "Account")</h5>
- </div>*@
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
- <div class="form-horizontal">
- <p class="titlePage">Add a Brokers</p>
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- <div class="container-fluid">
- <div class="row justify-content-center">
- <div class="col-xl-3 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-3 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.fee_id, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.fee_id, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => model.fee_id, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- <div class="container-fluid">
- <div class=" decale row justify-content-center ">
- <div class=" col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.equities, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.equities, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.equities, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.corporate_bonds, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.corporate_bonds, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.corporate_bonds, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.mmi, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.mmi, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.mmi, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.trs, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.trs, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.trs, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.futures, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.futures, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.futures, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.etf, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.etf, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.etf, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.fx, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.fx, new { htmlAttributes = new { @class = "checkBoxInput" } })
- @Html.ValidationMessageFor(model => model.fx, "", new { @class = "text-danger" })
- </div>
- <div class="col-xl-1 col-lg-3 col-md-3 col-xs-2">
- @Html.LabelFor(model => model.fund, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.fund, new { htmlAttributes = new { @class = "checkboxInput" } })
- @Html.ValidationMessageFor(model => model.fund, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- </div>
- }
- <div class="lastSection container">
- <div class="row justify-content-center">
- <div class="col-xl-2 col-lg-2 col-md-2">
- <a class="buttonCreateBack" href="/Brokers/Index">Back to List</a>
- </div>
- <div class="col-xl-2 col-lg-2 col-md-2">
- <input type="submit" value="Create" class="buttonCreateBack" />
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement