yavsc/src/Yavsc.Org/Views/ApiScope/Delete.cshtml

75 lines
2 KiB
Text
Raw Normal View History

2026-03-16 23:16:12 +00:00
@model Yavsc.Models.YavscApiScope
2026-07-04 20:03:56 +01:00
@{
ViewBag.Title = Localizer["ApiScope"];
}
2026-03-16 23:16:12 +00:00
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Delete</title>
</head>
<body>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>YavscApiScope</h4>
<hr />
<dl class="row">
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Enabled)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Enabled)
</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.DisplayName)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.DisplayName)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Description)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Description)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Required)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Required)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Emphasize)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.Emphasize)
</dd>
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.ShowInDiscoveryDocument)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor(model => model.ShowInDiscoveryDocument)
</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">Back to List</a>
</form>
</div>
</body>
2026-07-04 20:03:56 +01:00
</html>