Skip to content

Commit 551efc0

Browse files
committed
minor #8513 Form - fix wrong submit button label (nclsHart)
This PR was merged into the 2.7 branch. Discussion ---------- Form - fix wrong submit button label The screenshot and submit button label was talking about "Post" but the form is about creating a "Task". See #7114. Commits ------- 623b20a Form - fix wrong submit button label
2 parents 93177d7 + 623b20a commit 551efc0

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)