mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add admin page for sound by machine.
This commit is contained in:
33
cicm_web/Areas/Admin/Views/SoundByMachine/Delete.cshtml
Normal file
33
cicm_web/Areas/Admin/Views/SoundByMachine/Delete.cshtml
Normal file
@@ -0,0 +1,33 @@
|
||||
@model Cicm.Database.Models.SoundByMachine
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h1>Delete</h1>
|
||||
|
||||
<h3>Are you sure you want to delete this?</h3>
|
||||
<div>
|
||||
<h4>Sound by machine</h4>
|
||||
<hr />
|
||||
<dl class="row">
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.Machine)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.Machine.Name)
|
||||
</dd>
|
||||
<dt class = "col-sm-2">
|
||||
@Html.DisplayNameFor(model => model.SoundSynth)
|
||||
</dt>
|
||||
<dd class = "col-sm-10">
|
||||
@Html.DisplayFor(model => model.SoundSynth.Name)
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<form asp-action="Delete">
|
||||
<input type="hidden" asp-for="Id" />
|
||||
<input type="submit" value="Delete" class="btn btn-danger" />
|
||||
<a asp-action="Index" class="btn btn-secondary">Back to List</a>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user