chore: cleanup in views
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
73fb03ffc6
commit
61a7f569cc
@ -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");}
|
||||
|
@ -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" /> |
|
||||
|
@ -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");}
|
||||
|
Reference in New Issue
Block a user