@@ -57,8 +57,9 @@
}
else if (prop.ModelType == typeof(bool))
{
-
- @Html.CheckBox(prop.PropertyName)
@prop.GetDisplayName()
+
+ @Html.CheckBox(prop.PropertyName, new { @class = "form-check-input" })
+ @Html.Label(prop.PropertyName, prop.GetDisplayName() + ":", new { @class = "form-check-label" })
}
else
diff --git a/projects/Infrastructure/Views/Shared/EditorTemplates/Object.cshtml b/projects/Infrastructure/Views/Shared/EditorTemplates/Object.cshtml
index 962f6a9b..6acef87d 100644
--- a/projects/Infrastructure/Views/Shared/EditorTemplates/Object.cshtml
+++ b/projects/Infrastructure/Views/Shared/EditorTemplates/Object.cshtml
@@ -9,39 +9,30 @@
@HtmlTitle