Created
September 9, 2010 14:26
-
-
Save joshuaflanagan/571935 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
<!-- the expression in the container is used by the contained LableFor and InputFor --> | |
<div for="x => x.FirstName"> | |
<div class="shiny">{ Label }</div> | |
<div class="happy">{ Input }</div> | |
</div> | |
<!-- or if you don't need a container, use a "virtual", non-printing tag | |
<surround for="x => x.FirstName"> | |
<dt class="shiny">{ Label }</dt> | |
<dd class="happy">{ Input }</dd> | |
</surround> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment