Delete.cshtml
511 bytes
| 1 | @using App.BLL.DTO |
|---|---|
| 2 | @model AdminDeleteViewModel<TripPollBllDto> |
| 3 | |
| 4 | <h1>@Localizer["Delete"] @Localizer["Poll"]</h1> |
| 5 | |
| 6 | <div class="alert alert-danger"> |
| 7 | @Localizer["AreYouSure"] - "<strong>@Model.Item.Question</strong>" (@Model.Item.Trip?.Name)? |
| 8 | </div> |
| 9 | |
| 10 | <form asp-action="Delete" method="post"> |
| 11 | <input type="hidden" asp-for="Item.Id" /> |
| 12 | <button type="submit" class="btn btn-danger">@Localizer["Delete"]</button> |
| 13 | <a asp-action="Index" class="btn btn-outline-secondary">@Localizer["Cancel"]</a> |
| 14 | </form> |
| 15 | |