8000 minor #7114 Minor text fix - wrong submit button label (Forms) (muffe) · symfony/symfony-docs@491cb13 · GitHub
[go: up one dir, main page]

Skip to content

Commit 491cb13

Browse files
committed
minor #7114 Minor text fix - wrong submit button label (Forms) (muffe)
This PR was submit 8000 ted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #7114). Discussion ---------- Minor text fix - wrong submit button label (Forms) The screenshot of the rendered view below [(Form)](http://symfony.com/doc/current/_images/simple-form.png) shows the submit button with "Create Post". Commits ------- 274dbe3 Minor text fix - wrong submit button label (Forms)
2 parents 9837975 + 274dbe3 commit 491cb13

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)
0