source: PostgreSqlDotnetCore/Areas/Identity/Pages/Account/_StatusMessage.cshtml

main
Last change on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago

init commit Elena

  • Property mode set to 100644
File size: 344 bytes
Line 
1@model string
2
3@if (!String.IsNullOrEmpty(Model))
4{
5 var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
6 <div class="alert alert-@statusMessageClass alert-dismissible" role="alert">
7 <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
8 @Model
9 </div>
10}
Note: See TracBrowser for help on using the repository browser.