chore: cleanup in views
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-02-18 20:23:28 +01:00
parent 73fb03ffc6
commit 61a7f569cc
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<p>Edit carousel item.</p>
@{ViewBag.Action = "Edit";}
<partial name="PartialForm_EditCreate" model="Model">
<partial name="PartialForm_EditCreate" model="Model"/>
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}

View File

@ -28,13 +28,13 @@
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Order.Order_Number)
</dd class>
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Product)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Product.Description)
</dd class>
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Created)
</dt>
@ -48,7 +48,7 @@
@Html.DisplayFor(model => model.Updated)
</dd>
</dl>
<form asp-action="Delete">
<input type="hidden" asp-for="id" />
<input type="submit" value="Delete" class="btn btn-danger" /> |

View File

@ -8,7 +8,7 @@
<p>Edit product.</p>
@{ViewBag.Action = "Edit";}
<partial name="edit-create_part" model="Model">
<partial name="edit-create_part" model="Model"/>
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}