-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
3,510 additions
and
1,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
PlanB.Butler.Admin/PlanB.Butler.Admin/Views/Meal/Delete.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
@model PlanB.Butler.Admin.Models.MealViewModel | ||
|
||
@{ | ||
ViewData["Title"] = "Delete"; | ||
} | ||
|
||
<h1>Delete</h1> | ||
|
||
<h3>Are you sure you want to delete this?</h3> | ||
<div> | ||
<h4>MealViewModel</h4> | ||
<hr /> | ||
<dl class="row"> | ||
<dt class = "col-sm-2"> | ||
@Html.DisplayNameFor(model => model.Id) | ||
</dt> | ||
<dd class = "col-sm-10"> | ||
@Html.DisplayFor(model => model.Id) | ||
</dd> | ||
<dt class = "col-sm-2"> | ||
@Html.DisplayNameFor(model => model.Date) | ||
</dt> | ||
<dd class = "col-sm-10"> | ||
@Html.DisplayFor(model => model.Date) | ||
</dd> | ||
<dt class = "col-sm-2"> | ||
@Html.DisplayNameFor(model => model.Price) | ||
</dt> | ||
<dd class = "col-sm-10"> | ||
@Html.DisplayFor(model => model.Price) | ||
</dd> | ||
<dt class = "col-sm-2"> | ||
@Html.DisplayNameFor(model => model.Name) | ||
</dt> | ||
<dd class = "col-sm-10"> | ||
@Html.DisplayFor(model => model.Name) | ||
</dd> | ||
<dt class = "col-sm-2"> | ||
@Html.DisplayNameFor(model => model.Restaurant) | ||
</dt> | ||
<dd class = "col-sm-10"> | ||
@Html.DisplayFor(model => model.Restaurant) | ||
</dd> | ||
</dl> | ||
|
||
<form asp-action="Delete"> | ||
<input type="submit" value="Delete" class="btn btn-danger" /> | | ||
<a asp-action="Index">Back to List</a> | ||
</form> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.