Add ResultsAdmin, delete action
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@model LeafWeb.Web.ViewModels.ResultsAdmin.LeafInputViewModel
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Delete LeafInput";
|
||||
}
|
||||
|
||||
<h1>@ViewBag.Title</h1>
|
||||
|
||||
<div class="center-content label label-warning">Are you sure you wish to delete this LeafInput?</div>
|
||||
|
||||
<div class="center-content well">
|
||||
|
||||
@Html.DisplayForModel()
|
||||
|
||||
@using (Html.BeginForm("Delete", "ResultsAdmin", FormMethod.Post, new { @class = "form-horizontal" }))
|
||||
{
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="Delete" class="btn btn-warning" />
|
||||
@Html.ActionLink("Cancel", "Details", new { id = Model.LeafInputId }, new { @class = "btn" })
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user