22 lines
609 B
Plaintext
22 lines
609 B
Plaintext
@model IEnumerable<SelectListItem>
|
|
|
|
<table class="table table-striped table-bordered dataTable" id="uom">
|
|
<thead>
|
|
<tr>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (Model != null)
|
|
{
|
|
foreach (var viewModel in Model)
|
|
{
|
|
<tr>
|
|
<td style="width:30px;text-align: right;">
|
|
<input type="checkbox" value="@viewModel.Value" name="ViewId" id="ViewId_@viewModel.Value"/>
|
|
</td>
|
|
<td>@viewModel.Text</td>
|
|
</tr>
|
|
}
|
|
}
|
|
</tbody>
|
|
</table> |