Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit c09cbf7

Browse files
committed
fixed indention
1 parent 0193612 commit c09cbf7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tutorial/sonata-admin.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,10 @@ Create the following admin classes, first for the ``Page`` document::
272272
{
273273
$formMapper
274274
->with('form.group_general')
275-
->add('title', 'text')
276-
->add('content', 'textarea')
277-
->end();
275+
->add('title', 'text')
276+
->add('content', 'textarea')
277+
->end()
278+
;
278279
}
279280

280281
public function prePersist($document)
@@ -314,8 +315,9 @@ to avoid code duplication::
314315

315316
$formMapper
316317
->with('form.group_general')
317-
->add('date', 'date')
318-
->end();
318+
->add('date', 'date')
319+
->end()
320+
;
319321
}
320322
}
321323

0 commit comments

Comments
 (0)