--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-10-11 12:04:17 -07:00
13 changed files with 98 additions and 40 deletions

View File

@@ -0,0 +1,10 @@
@{
// Model is Model.Menu from the layout (Layout.Menu)
var tag = Tag(Model, "ul");
}
<nav>
@tag.StartElement
@* see MenuItem shape template *@
[@DisplayChildren(Model)]
@tag.EndElement
</nav>

View File

@@ -0,0 +1,7 @@
@{
Model.Attributes.Add("style", "background:salmon;");
var tag = Tag(Model, "div");
}
@tag.StartElement
@DisplayChildren(Model)
@tag.EndElement