diff options
author | DeanWunder <30644242+DeanWunder@users.noreply.github.com> | 2019-09-08 08:33:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 08:33:25 +0200 |
commit | d57878699f21a59aaa8644e5d09b1fbbff43d22c (patch) | |
tree | d0888aa57a17cdbb8d0ecb3a2397d2aed7439ae5 | |
parent | d5328adebff867b2757c74190eec5073ad56386f (diff) |
Fixed HTML type attribute for input field.
Input is not a valid value for the type attribute for an input tag. Replaced with text, a valid value.
https://www.w3schools.com/tags/att_input_type.asp
-rw-r--r-- | user_guide_src/source/tutorial/create_news_items.rst | 2 |
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 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 /> |