Events-MVC (example with htmx)
This commit is contained in:
15
Events-MVC/Events.MVC/Views/Home/Error.cshtml
Normal file
15
Events-MVC/Events.MVC/Views/Home/Error.cshtml
Normal file
@@ -0,0 +1,15 @@
|
||||
@model Events.MVC.Models.ErrorViewModel
|
||||
|
||||
@{
|
||||
ViewData[Constants.ViewDataKeys.Title] = Constants.ToastTitles.Error;
|
||||
}
|
||||
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<h1 class="h4">An error occurred.</h1>
|
||||
@if (Model.ShowRequestId)
|
||||
{
|
||||
<p class="text-body-secondary mb-0">Request ID: <code>@Model.RequestId</code></p>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user