@model string
@{
Layout = "_FieldLayout.cshtml";
var htmlAttributes = new RouteValueDictionary();
if (ViewBag.@class != null)
{
htmlAttributes.Add("class", ViewBag.@class);
}
var isChecked = !string.IsNullOrEmpty(Model);
var id = ViewData.TemplateInfo.GetFullHtmlFieldId("");
}
checked="checked"}
@if(htmlAttributes.ContainsKey("class")){class="@htmlAttributes["class"]" } />