Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit48ceb34

Browse files
committed
Fixed comments in87c0536
1 parentc8a4aa8 commit48ceb34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cookbook/form/use_empty_data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ you form. For example::
1111

1212
public function indexAction()
1313
{
14-
$blog =//...
14+
$blog = ...;
1515

1616
// $blog is passed in as the data, so the empty_data option is not needed
1717
$form = $this->createForm(new BlogType(), $blog);
@@ -35,8 +35,8 @@ that takes arguments. Remember, the default ``data_class`` option calls
3535
that constructor with no arguments::
3636

3737
// src/Acme/DemoBundle/Form/Type/BlogType.php
38-
// ...
3938

39+
// ...
4040
use Symfony\Component\Form\AbstractType;
4141
use Acme\DemoBundle\Entity\Blog;
4242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp