mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Code refactor.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@model string
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model))
|
||||
@if(!string.IsNullOrEmpty(Model))
|
||||
{
|
||||
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
|
||||
<div class="alert alert-@statusMessageClass alert-dismissible" role="alert">
|
||||
|
||||
Reference in New Issue
Block a user