Skip to content

Commit 623b20a

Browse files
committed
Form - fix wrong submit button label
see #7114
1 parent b39756f commit 623b20a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

_images/form/simple-form.png

-5.47 KB
Loading

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ from inside a controller::
9393
$form = $this->createFormBuilder($task)
9494
->add('task', 'text')
9595
->add('dueDate', 'date')
96-
->add('save', 'submit', array('label' => 'Create Post'))
96+
->add('save', 'submit', array('label' => 'Create Task'))
9797
->getForm();
9898

9999
return $this->render('default/new.html.twig', array(

0 commit comments

Comments
 (0)