Skip to content

Commit 274dbe3

Browse files
muffexabbuh
authored andcommitted
Minor text fix - wrong submit button label (Forms)
The screenshot of the rendered view below ("/_images/form/simple-form.png") shows the submit button with "Create Post".
1 parent 9837975 commit 274dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 Task'))
96+
->add('save', 'submit', array('label' => 'Create Post'))
9797
->getForm();
9898

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

0 commit comments

Comments
 (0)