Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model PortfolioLib.Models.M_custodians
- @using (Html.BeginForm())
- {
- @Html.AntiForgeryToken()
- <div class="form-horizontal">
- <p class="titlePage">Edit "@Model.name"</p>
- @Html.ValidationSummary(true, "", new { @class = "text-danger" })
- @Html.HiddenFor(model => model.id)
- <div class="container-fluid">
- <div class="row justify-content-center">
- <div class="col-xl-3 col-lg-6 col-md-6 col-xs-6">
- @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-6 col-md-6 col-xs-6">
- @Html.LabelFor(model => model.code, htmlAttributes: new { @class = "control-label labelInput" })
- @Html.EditorFor(model => model.code, new { htmlAttributes = new { @class = "form-control" } })
- @Html.ValidationMessageFor(model => model.code, "", new { @class = "text-danger" })
- </div>
- </div>
- </div>
- <div class="container-fluid">
- <div class="row justify-content-center decale">
- <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">
- <input type="submit" value="Save" class="buttonCreateBack" />
- </div>
- <div class="col-xl-2 col-lg-2 col-md-2">
- <a class="buttonCreateBack" href="/Edit">Back to List</a>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement