Skip to content

Instantly share code, notes, and snippets.

@KevM
Created August 9, 2011 22:03
Show Gist options
  • Select an option

  • Save KevM/1135317 to your computer and use it in GitHub Desktop.

Select an option

Save KevM/1135317 to your computer and use it in GitHub Desktop.
FubuMVC Issue 97
<h3>I am a go request result tag goodness.</h3><html>
<head>
<title>Default Title</title>
</head>
<body>
<div id="header">
<div>no header by default</div>
</div>
<div id="main">
<h2>Exhale!</h2>
<p>
This paragraphy should be before the go request partial
</p>
</div>
<div id="footer">
<div>no footer by default</div>
</div>
</body>
</html>
<viewdata model="FubuMVC.HelloSpark.Controllers.Air.BreatheViewModel" />
<h2>${Model.Text}</h2>
<p>
This paragraphy should be before the go request partial
</p>
#this.Partial<FubuMVC.HelloSpark.Controllers.HtmlTager.GoRequest>();
using FubuMVC.Core;
using HtmlTags;
namespace FubuMVC.HelloSpark.Controllers.HtmlTager
{
public class TagController
{
[FubuPartial]
public HtmlTag Go(GoRequest request)
{
return new HtmlTag("h3").Text("I am a go request result tag goodness.");
}
}
public class GoRequest
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment