Browse files

Merge branch 'hotfix/330'

Close #330
  • Loading branch information...
2 parents 018c46f + 5fd5e3f commit ce242f9cd68c78a57b82d684a1f8a5603b97d02a @weierophinney weierophinney committed Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/languages/en/user-guide/forms-and-actions.rst
@@ -225,7 +225,7 @@ Let’s look at the ``addAction()`` code in a little more detail:
.. code-block:: php
$form = new AlbumForm();
- $form->submit->setValue('Add');
+ $form->get('submit')->setValue('Add');
We instantiate `AlbumForm` and set the label on the submit button to “Add”. We
do this here as we’ll want to re-use the form when editing an album and will use

0 comments on commit ce242f9

Please sign in to comment.