@@ -260,10 +260,11 @@ additional View Model, `$sidebarBlockView`, which will be captured to its
260260To better visualize this, let's look at what the final content might look like,
261261with comments detailing where each nested view model is injected.
262262
263- Here are the templates, rendered based on a 12-column grid:
263+ Here are the templates, rendered based on a 12-column grid.
264+
265+ The ` content/article/view ` template:
264266
265267``` php
266- <?php // "content/article/view" template ?>
267268<!-- This is from the $view View Model, and the "content/article/view" template -->
268269<div class =" row content" >
269270 <?= $this->article ?>
@@ -274,35 +275,39 @@ Here are the templates, rendered based on a 12-column grid:
274275</div >
275276```
276277
278+ The ` content/article ` template:
279+
277280``` php
278- <?php // "content/article" template ?>
279281 <!-- This is from the $articleView View Model, and the "content/article"
280282 template -->
281283 <article class =" span8" >
282284 <?= $this->escapeHtml('article') ?>
283285 </article >
284286```
285287
288+ The ` content/main-sidebar ` template:
289+
286290``` php
287- <?php // "content/main-sidebar" template ?>
288291 <!-- This is from the $primarySidebarView View Model, and the
289292 "content/main-sidebar" template -->
290293 <div class =" span2 sidebar" >
291294 sidebar content...
292295 </div >
293296```
294297
298+ The ` content/secondary-sidebar ` template:
299+
295300``` php
296- <?php // "content/secondary-sidebar template ?>
297301 <!-- This is from the $secondarySidebarView View Model, and the
298302 "content/secondary-sidebar" template -->
299303 <div class =" span2 sidebar pull-right" >
300304 <?= $this->block ?>
301305 </div >
302306```
303307
308+ The ` content/block ` template:
309+
304310``` php
305- <?php // "content/block template ?>
306311 <!-- This is from the $sidebarBlockView View Model, and the
307312 "content/block" template -->
308313 <div class =" block" >
0 commit comments