Cleanup and small fixes

This commit is contained in:
2020-08-04 21:40:32 -04:00
parent cb1b6c6e47
commit 2716b9bfb4
5 changed files with 59 additions and 16 deletions
@@ -12,4 +12,6 @@
var id = ViewData.TemplateInfo.GetFullHtmlFieldId("");
}
<input id="@id" name="@id" type="checkbox" @if(isChecked) {<text>checked="checked"</text>} />
<input id="@id" name="@id" type="checkbox"
@if(isChecked) {<text>checked="checked"</text>}
@if(htmlAttributes.ContainsKey("class")){<text>class="@htmlAttributes["class"]"</text> } />