@model string @if (!String.IsNullOrEmpty(Model)) { var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";