Commit: 6192f606ef7502bd60e8f870d706a829e113bb20

Author: Nate Abele | Date: 2011-03-21 11:03:25 -0400
Fixing example code in `\template\helper\Form` documentation to reflect new convention of plural model names.
diff --git a/libraries/lithium/template/helper/Form.php b/libraries/lithium/template/helper/Form.php index 837314c..fb26eb5 100644 --- a/libraries/lithium/template/helper/Form.php +++ b/libraries/lithium/template/helper/Form.php @@ -17,10 +17,10 @@ use UnexpectedValueException; * will simply generate HTML forms and widgets, but by creating a form with a _binding object_, * the helper can pre-fill form input values, render error messages, and introspect column types. * - * For example, assuming you have created a `Post` model in your application: + * For example, assuming you have created a `Posts` model in your application: * {{{// In controller code: - * use app\models\Post; - * $post = Post::find(1); + * use app\models\Posts; + * $post = Posts::find(1); * return compact('post'); * * // In view code: