Created
November 29, 2010 16:03
-
-
Save ahjohannessen/720125 to your computer and use it in GitHub Desktop.
Showcase of odd this.Partial extension method.
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
<viewdata model="FubuMVC.HelloSpark.Controllers.EarthViewModel" /> | |
<content:title>Down to Earth!</content:title> | |
<content:header>Where are we now?</content:header> | |
<h2>Via Spark Partial: <WhereAreWe /></h2> | |
<h2>Via Fubu Partial: | |
#this.Partial<LocationViewModel>(); | |
#this.Partial<LocationViewModel>(); | |
</h2> | |
<div>Using DisplayFor: !{this.DisplayFor(m => m.RawUrl)}</div> | |
<content:footer>That's right baby!</content:footer> | |
!{this.LinkTo<WaterInputModel>().Text("Cool her down!")} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment