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

Commitee33dcd

Browse files
committed
Remove some empty lines from code samples
1 parentf47a7c3 commitee33dcd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎cookbook/form/dynamic_form_modification.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,6 @@ The meetup is passed as an entity field to the form. So we can access each
474474
sport like this::
475475

476476
// src/Acme/DemoBundle/Form/Type/SportMeetupType.php
477-
478477
namespace Acme\DemoBundle\Form\Type;
479478

480479
use Symfony\Component\Form\AbstractType;
@@ -548,7 +547,6 @@ new field automatically and map it to the submitted client data.
548547
The type would now look like::
549548

550549
// src/Acme/DemoBundle/Form/Type/SportMeetupType.php
551-
552550
namespace Acme\DemoBundle\Form\Type;
553551

554552
// ...
@@ -613,7 +611,6 @@ the sport is selected. This should be handled by making an AJAX call back to
613611
your application. Assume that you have a sport meetup creation controller::
614612

615613
// src/Acme/DemoBundle/Controller/MeetupController.php
616-
617614
namespace Acme\DemoBundle\Controller;
618615

619616
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
@@ -657,7 +654,6 @@ it makes use of `jQuery`_ library and the `FOSJsRoutingBundle`_:
657654
..code-block::html+jinja
658655

659656
{# src/Acme/DemoBundle/Resources/views/Meetup/create.html.twig #}
660-
661657
{{ form_start(form) }}
662658
{{ form_row(form.sport) }} {# <select id="meetup_sport" ... #}
663659
{{ form_row(form.position) }} {# <select id="meetup_position" ... #}
@@ -693,7 +689,6 @@ it makes use of `jQuery`_ library and the `FOSJsRoutingBundle`_:
693689
..code-block::html+php
694690

695691
<!-- src/Acme/DemoBundle/Resources/views/Meetup/create.html.php -->
696-
697692
<?php echo $view['form']->start($form) ?>
698693
<?php echo $view['form']->row($form['sport']) ?> <!-- <select id="meetup_sport" ... -->
699694
<?php echo $view['form']->row($form['position']) ?> <!-- <select id="meetup_position" ... -->
@@ -733,7 +728,6 @@ of the :doc:`@ParamConverter </bundles/SensioFrameworkExtraBundle/annotations/co
733728
listener to convert the submitted sport ID into a ``Sport`` object::
734729

735730
// src/Acme/DemoBundle/Controller/MeetupController.php
736-
737731
namespace Acme\DemoBundle\Controller;
738732

739733
// ...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp