LocalGovIMS_localgov-ims/src/Admin/Views/Shared/_Message.cshtml
@model Admin.Models.Shared.Message

@if (Model != null)
{
    <div class="alert alert-@Model.Type mb-3">
        @if (!Model.Title.IsNumericWhiteSpace())
        {
            <div class="fw-bold pb-1">
                @Model.Title
            </div>
        }
        @if (!Model.Text.IsNumericWhiteSpace())
        {
            <p class="mb-0">@Model.Text</p>
        }
    </div>
}