summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/tutorial
diff options
context:
space:
mode:
authorClaudio Galdiolo <claudio.galdiolo@gmail.com>2014-12-23 20:21:41 +0100
committerClaudio Galdiolo <claudio.galdiolo@gmail.com>2014-12-23 20:21:41 +0100
commit347916f6d3de62ecf8ed40fe841b3fe579f858e3 (patch)
treefc2a580d04b7946c99198ac5c37c4ee52aee4468 /user_guide_src/source/tutorial
parentceeb76201c99b0ca650f4b7b4fb3b2489c2d7282 (diff)
use $title variable in the view
$data['title'] is defined in the controller but it is not used in the view
Diffstat (limited to 'user_guide_src/source/tutorial')
-rw-r--r--user_guide_src/source/tutorial/create_news_items.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/tutorial/create_news_items.rst b/user_guide_src/source/tutorial/create_news_items.rst
index ad355b33d..1f4a96dd3 100644
--- a/user_guide_src/source/tutorial/create_news_items.rst
+++ b/user_guide_src/source/tutorial/create_news_items.rst
@@ -18,7 +18,7 @@ application/views/news/create.php.
::
- <h2>Create a news item</h2>
+ <h2><?php echo $title ?></h2>
<?php echo validation_errors(); ?>