Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th style="width: 5%;"></th>
- <th>Name</th>
- <th style="width: 17%;">And/Or Preset</th>
- <th style="width: 5%;">PO</th>
- </tr>
- </thead>
- <tbody id="tableBody" class="selectableList" data-specifications-table-body>
- @for (var i = 0; i < Model.EnabledSpecifications.Count; i++)
- {
- <tr id="specification" class="selectable">
- @Html.HiddenFor(_ => Model.EnabledSpecifications[i].Id)
- @Html.HiddenFor(_ => Model.EnabledSpecifications[i].Name)
- @Html.HiddenFor(_ => Model.EnabledSpecifications[i].SortOrder)
- <td id="dragAndDropFaker" hidden="hidden"></td>
- <td id="dragAndDrop">
- <span class="pull-left">
- <i class="fa fa-bars" data-drag-handle></i>
- </span>
- </td>
- <td id="name">
- <span class="@(Model.EnabledSpecifications[i].Processed ? "" : "newSpecification")">
- @Html.DisplayFor(_ => Model.EnabledSpecifications[i].Name)
- </span>
- </td>
- <td id="andOr">
- @Html.DropDownListFor(_ => Model.EnabledSpecifications[i].AndOrPreset, EnumHelper.GetSelectList(typeof(ProductSpecification.AndOrPresets), Model.EnabledSpecifications[i].AndOrPreset), new {@class = "andOrPreset"})
- </td>
- <td id="enabledSpecification" class="toggler-checkbox">
- @Html.CheckBoxFor(_ => Model.EnabledSpecifications[i].Enabled)
- </td>
- </tr>
- }
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement