From d3bc2523bcc8de6c80eee3594a1a337c00e2495f Mon Sep 17 00:00:00 2001 From: nirvana-msu Date: Sat, 6 Dec 2014 22:12:57 +0000 Subject: [PATCH] Fixed a few typos in Html helper guide --- docs/guide/helper-html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/helper-html.md b/docs/guide/helper-html.md index d49ed6d4bc..9290c58d35 100644 --- a/docs/guide/helper-html.md +++ b/docs/guide/helper-html.md @@ -225,7 +225,7 @@ that accepts data directly: 'label username']) ``` -In order to display form errors from a model or models as a summart you could use: +In order to display form errors from a model or models as a summary you could use: ```php 'errors']) ?> @@ -240,7 +240,7 @@ To display individual error: ### Names and values -There are methods to get names, ids and values for input fields based on the model. These are mailly used internally +There are methods to get names, ids and values for input fields based on the model. These are mainly used internally but could be handy sometimes: ```php @@ -257,7 +257,7 @@ echo Html::getAttributeValue($post, 'title'); echo Html::getAttributeValue($post, '[0]authors[0]'); ``` -In the above first argument is the model while the second one is attribute expression. In its simplest for it's +In the above first argument is the model while the second one is attribute expression. In its simplest form it's attribute name but it could be an attribute name prefixed and/or suffixed with array indexes which are mainly used for tabular input: