summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/news_section.html
diff options
context:
space:
mode:
authorWes Baker <wes@wesbaker.com>2014-05-14 20:20:54 +0200
committerWes Baker <wes@wesbaker.com>2014-05-14 20:20:54 +0200
commit5800de6835bfa943b7ffca94917f3f85696cc35f (patch)
tree8ddf90a4d66245a5b86745eae2b75a17ab0ffa34 /user_guide/tutorial/news_section.html
parentb589c09cac5be1d82a57cdf70a31d8c30976fee6 (diff)
Corrections to the tutorial.
Diffstat (limited to 'user_guide/tutorial/news_section.html')
-rw-r--r--user_guide/tutorial/news_section.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/tutorial/news_section.html b/user_guide/tutorial/news_section.html
index f8e64fc36..f3d616ab8 100644
--- a/user_guide/tutorial/news_section.html
+++ b/user_guide/tutorial/news_section.html
@@ -161,7 +161,7 @@ public function index()
&lt;?php foreach ($news as $news_item): ?&gt;
&lt;h2&gt;&lt;?php echo $news_item['title'] ?&gt;&lt;/h2&gt;
- &lt;div id="main"&gt;
+ &lt;div class="main"&gt;
&lt;?php echo $news_item['text'] ?&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="news/&lt;?php echo $news_item['slug'] ?&gt;"&gt;View article&lt;/a&gt;&lt;/p&gt;
@@ -227,4 +227,4 @@ Next Topic:&nbsp;&nbsp;<a href="create_news_items.html">Create news items</a>
</div>
</body>
-</html> \ No newline at end of file
+</html>