summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/tutorial')
-rw-r--r--user_guide_src/source/tutorial/create_news_items.rst2
-rw-r--r--user_guide_src/source/tutorial/static_pages.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/tutorial/create_news_items.rst b/user_guide_src/source/tutorial/create_news_items.rst
index cde52fde8..b53ef2d68 100644
--- a/user_guide_src/source/tutorial/create_news_items.rst
+++ b/user_guide_src/source/tutorial/create_news_items.rst
@@ -25,7 +25,7 @@ the slug from our title in the model. Create the new view at
<?php echo form_open('news/create'); ?>
<label for="title">Title</label>
- <input type="input" name="title" /><br />
+ <input type="text" name="title" /><br />
<label for="text">Text</label>
<textarea name="text"></textarea><br />
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst
index 5daaa958f..8db105555 100644
--- a/user_guide_src/source/tutorial/static_pages.rst
+++ b/user_guide_src/source/tutorial/static_pages.rst
@@ -58,7 +58,7 @@ the following code:
::
- <html>
+ <html lang="en">
<head>
<title>CodeIgniter Tutorial</title>
</head>
@@ -162,7 +162,7 @@ arguments.
More information about routing can be found in the URI Routing
:doc:`documentation <../general/routing>`.
-Here, the second rule in the ``$routes`` array matches **any** request
+Here, the second rule in the ``$route`` array matches **any** request
using the wildcard string ``(:any)``. and passes the parameter to the
``view()`` method of the ``Pages`` class.