mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
31 lines
908 B
Plaintext
31 lines
908 B
Plaintext
@model ChsModelForView
|
|
|
|
@{
|
|
ViewBag.Title = "Consolidate duplicate CHS";
|
|
Layout = "_Layout";
|
|
}
|
|
<h2>Consolidate duplicate CHS</h2>
|
|
<div>
|
|
The following CHS have duplicates.
|
|
<table class="table">
|
|
<thead>
|
|
<tbody>
|
|
@foreach (var item in Model.List)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Cylinders)/@Html.DisplayFor(modelItem => item.Heads)/@Html.DisplayFor(modelItem => item.Sectors)
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
Do you want to remove the duplicates?
|
|
<form asp-action="Consolidate" enctype="multipart/form-data">
|
|
<input type="hidden" asp-for="Json" name="models" />
|
|
<a asp-action="Index" class="btn btn-primary">Back to List</a>
|
|
<input class="btn btn-danger" type="submit" value="Consolidate" />
|
|
</form>
|
|
</div> |