Skip to content

Commit 010f780

Browse files
committed
Fixed some issues
1 parent 82afb31 commit 010f780

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

form/create_custom_field_type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ link for details), create a ``shipping_widget`` block to handle this:
141141

142142
.. code-block:: html+php
143143

144-
<!-- templates/form/shipping_widget.html.php -->
144+
<!-- src/Resources/shipping_widget.html.php -->
145145
<?php if ($expanded) : ?>
146146
<ul <?php $view['form']->block($form, 'widget_container_attributes') ?>>
147147
<?php foreach ($form as $child) : ?>

form/create_form_type_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Specifically, you need to override the ``file_widget`` block:
236236

237237
.. code-block:: html+php
238238

239-
<!-- templates/form/file_widget.html.php -->
239+
<!-- src/Resources/file_widget.html.php -->
240240
<?php echo $view['form']->widget($form) ?>
241241
<?php if (null !== $image_url): ?>
242242
<img src="<?php echo $view['assets']->getUrl($image_url) ?>"/>

form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ you will learn about next!).
510510
511511
.. code-block:: yaml
512512
513-
# src/Resources/config/doctrine/Task.orm.yaml
513+
# src/Resources/config/doctrine/Task.orm.yml
514514
App\Entity\Task:
515515
type: entity
516516
# ...

form/form_customization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ file in order to customize the ``integer_widget`` fragment.
401401

402402
.. code-block:: html+php
403403

404-
<!-- templates/form/integer_widget.html.php -->
404+
<!-- src/Resources/integer_widget.html.php -->
405405
<div class="integer_widget">
406406
<?php echo $view['form']->block(
407407
$form,
@@ -750,7 +750,7 @@ customize the ``name`` field only:
750750

751751
<?php echo $view['form']->widget($form['name']); ?>
752752

753-
<!-- templates/form/_product_name_widget.html.php -->
753+
<!-- src/Resources/_product_name_widget.html.php -->
754754
<div class="text_widget">
755755
<?php echo $view['form']->block('form_widget_simple') ?>
756756
</div>
@@ -808,7 +808,7 @@ You can also override the markup for an entire field row using the same method:
808808

809809
<?php echo $view['form']->row($form['name']); ?>
810810

811-
<!-- templates/form/_product_name_row.html.php -->
811+
<!-- src/Resources/_product_name_row.html.php -->
812812
<div class="name_row">
813813
<?php echo $view['form']->label($form) ?>
814814
<?php echo $view['form']->errors($form) ?>

form/form_themes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ do this, create a new template file that will store the new markup:
4141

4242
.. code-block:: html+php
4343

44-
<!-- templates/form/form_row.html.php -->
44+
<!-- src/Resources/form_row.html.php -->
4545
<div class="form_row">
4646
<?php echo $view['form']->label($form, $label) ?>
4747
<?php echo $view['form']->errors($form) ?>

forms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ object.
338338
339339
.. code-block:: yaml
340340
341-
# src/Resources/config/validation.yaml
341+
# config/validation.yaml
342342
App\Entity\Task:
343343
properties:
344344
task:
@@ -349,7 +349,7 @@ object.
349349
350350
.. code-block:: xml
351351
352-
<!-- src/Resources/config/validation.xml -->
352+
<!-- config/validation.xml -->
353353
<?xml version="1.0" encoding="UTF-8"?>
354354
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
355355
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)