From 5cca1b06f9de3a3f994964e992959ac397547701 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Thu, 10 Feb 2011 14:02:54 +0100 Subject: [PATCH] Fixed small inconsistency on Forms overview page --- guides/forms/overview.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/forms/overview.rst b/guides/forms/overview.rst index 8a6b9472f28..5ae17006ddf 100755 --- a/guides/forms/overview.rst +++ b/guides/forms/overview.rst @@ -285,6 +285,7 @@ them in the second parameter. We will add a ``max_length`` option to the { protected function configure() { + $this->setDataClass('Sensio\\HelloBundle\\Contact\\ContactRequest'); $this->add('subject'); $this->add(new TextareaField('message')); $this->add('sender', array('max_length' => 50));