Delete.cshtml
1,970 bytes
| 1 | @model App.BLL.DTO.TripWishlistItemBllDto |
|---|---|
| 2 | |
| 3 | @{ |
| 4 | ViewData["Title"] = Localizer["Delete Wishlist Item"]; |
| 5 | var tripId = (Guid)ViewData["TripId"]!; |
| 6 | } |
| 7 | |
| 8 | <div class="row justify-content-center"> |
| 9 | <div class="col-md-8 col-lg-6"> |
| 10 | <div class="sa-card-static"> |
| 11 | <div class="sa-card-body" style="padding: var(--sa-space-8);"> |
| 12 | <div class="text-center mb-4"> |
| 13 | <div style="font-size: 2rem; color: var(--sa-danger); margin-bottom: var(--sa-space-2);"> |
| 14 | <i class="bi bi-trash3"></i> |
| 15 | </div> |
| 16 | <h1 style="font-size: 1.5rem; margin-bottom: 4px;">@Localizer["Delete Wishlist Item"]</h1> |
| 17 | <p class="sa-text-muted">@Localizer["AreYouSure"]</p> |
| 18 | </div> |
| 19 | |
| 20 | <div class="sa-card-static mb-4"> |
| 21 | <div class="sa-card-body"> |
| 22 | <h5>@Model.Title</h5> |
| 23 | @if (!string.IsNullOrEmpty(Model.Description)) |
| 24 | { |
| 25 | <p class="sa-text-muted">@Model.Description</p> |
| 26 | } |
| 27 | @if (Model.EstimatedCost.HasValue) |
| 28 | { |
| 29 | <p>@Localizer["Estimated Cost"]: @Model.EstimatedCost.Value.ToString("N2")</p> |
| 30 | } |
| 31 | </div> |
| 32 | </div> |
| 33 | |
| 34 | <form asp-action="Delete" data-sa-loading> |
| 35 | <div class="d-flex gap-3"> |
| 36 | <button type="submit" class="sa-btn flex-grow-1" style="background: var(--sa-danger); color: #fff;"> |
| 37 | <i class="bi bi-trash3"></i> @Localizer["Delete"] |
| 38 | </button> |
| 39 | <a asp-action="Index" asp-route-tripId="@tripId" class="sa-btn sa-btn-ghost">@Localizer["Cancel"]</a> |
| 40 | </div> |
| 41 | </form> |
| 42 | </div> |
| 43 | </div> |
| 44 | </div> |
| 45 | </div> |
| 46 | |