Created
July 27, 2014 21:50
-
-
Save ChuckBryan/8ed968a6d42fada54008 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model Boolean? | |
<div class="checkbox"> | |
<label> | |
@Html.CheckBox("", Model.HasValue && Model.Value, new{ng_model = Html.AngularBindingForModel()}) @ViewData.ModelMetadata.DisplayName | |
</label> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my implementation of a boolean editor using the framework that Matt Honeycutt set up for FailTracker that was demonstrated in his Pluralsight Video.