Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06e7c5f

Browse filesBrowse files
committed
minor #4364 changed submit button label (OskarStark)
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4364). Discussion ---------- changed submit button label we create a "task" not a "post"... Commits ------- d3ea36c changed submit button label
2 parents db01e57 + d3ea36c commit 06e7c5f
Copy full SHA for 06e7c5f

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎book/forms.rst

Copy file name to clipboardExpand all lines: book/forms.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ from inside a controller::
103103
$form = $this->createFormBuilder($task)
104104
->add('task', 'text')
105105
->add('dueDate', 'date')
106-
->add('save', 'submit', array('label' => 'Create Post'))
106+
->add('save', 'submit', array('label' => 'Create Task'))
107107
->getForm();
108108

109109
return $this->render('AcmeTaskBundle:Default:new.html.twig', array(
@@ -219,7 +219,7 @@ controller::
219219
$form = $this->createFormBuilder($task)
220220
->add('task', 'text')
221221
->add('dueDate', 'date')
222-
->add('save', 'submit', array('label' => 'Create Post'))
222+
->add('save', 'submit', array('label' => 'Create Task'))
223223
->getForm();
224224

225225
$form->handleRequest($request);
@@ -297,7 +297,7 @@ To do this, add a second button with the caption "Save and add" to your form::
297297
$form = $this->createFormBuilder($task)
298298
->add('task', 'text')
299299
->add('dueDate', 'date')
300-
->add('save', 'submit', array('label' => 'Create Post'))
300+
->add('save', 'submit', array('label' => 'Create Task'))
301301
->add('saveAndAdd', 'submit', array('label' => 'Save and Add'))
302302
->getForm();
303303

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.