mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Scaffold all ASP.NET Identity pages.
This commit is contained in:
12
Marechai/Areas/Identity/Pages/Account/_StatusMessage.cshtml
Normal file
12
Marechai/Areas/Identity/Pages/Account/_StatusMessage.cshtml
Normal file
@@ -0,0 +1,12 @@
|
||||
@model string
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model))
|
||||
{
|
||||
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
|
||||
<div class="alert alert-@statusMessageClass alert-dismissible" role="alert">
|
||||
<button aria-label="Close" class="close" data-dismiss="alert" type="button">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
@Model
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user