@@ -69,7 +69,7 @@ To include JavaScript files, use the ``javascripts`` tag in any template:
6969 array('@AcmeFooBundle/Resources/public/js/*')
7070 ) as $url): ?>
7171 <script type="text/javascript" src="<?php echo $view->escape($url) ?>"></script>
72- <?php endforeach; ?>
72+ <?php endforeach ?>
7373
7474.. note ::
7575
@@ -126,7 +126,7 @@ above, except with the ``stylesheets`` tag:
126126 array('cssrewrite')
127127 ) as $url): ?>
128128 <link rel="stylesheet" href="<?php echo $view->escape($url) ?>" />
129- <?php endforeach; ?>
129+ <?php endforeach ?>
130130
131131.. note ::
132132
@@ -178,7 +178,7 @@ To include an image you can use the ``image`` tag.
178178 array('@AcmeFooBundle/Resources/public/images/example.jpg')
179179 ) as $url): ?>
180180 <img src="<?php echo $view->escape($url) ?>" alt="Example" />
181- <?php endforeach; ?>
181+ <?php endforeach ?>
182182
183183You can also use Assetic for image optimization. More information in
184184:doc: `/cookbook/assetic/jpeg_optimize `.
@@ -231,7 +231,7 @@ but still serve them as a single file:
231231 )
232232 ) as $url): ?>
233233 <script src="<?php echo $view->escape($url) ?>"></script>
234- <?php endforeach; ?>
234+ <?php endforeach ?>
235235
236236In the ``dev `` environment, each file is still served individually, so that
237237you can debug problems more easily. However, in the ``prod `` environment
@@ -268,7 +268,7 @@ combine third party assets, such as jQuery, with your own into a single file:
268268 )
269269 ) as $url): ?>
270270 <script src="<?php echo $view->escape($url) ?>"></script>
271- <?php endforeach; ?>
271+ <?php endforeach ?>
272272
273273Using Named Assets
274274~~~~~~~~~~~~~~~~~~
@@ -341,7 +341,7 @@ with the ``@named_asset`` notation:
341341 )
342342 ) as $url): ?>
343343 <script src="<?php echo $view->escape($url) ?>"></script>
344- <?php endforeach; ?>
344+ <?php endforeach ?>
345345
346346.. _cookbook-assetic-filters :
347347
@@ -417,7 +417,7 @@ into your template:
417417 array('uglifyjs2')
418418 ) as $url): ?>
419419 <script src="<?php echo $view->escape($url) ?>"></script>
420- <?php endforeach; ?>
420+ <?php endforeach ?>
421421
422422A more detailed guide about configuring and using Assetic filters as well as
423423details of Assetic's debug mode can be found in :doc: `/cookbook/assetic/uglifyjs `.
@@ -444,7 +444,7 @@ done from the template and is relative to the public document root:
444444 array('output' => 'js/compiled/main.js')
445445 ) as $url): ?>
446446 <script src="<?php echo $view->escape($url) ?>"></script>
447- <?php endforeach; ?>
447+ <?php endforeach ?>
448448
449449.. note ::
450450
@@ -567,4 +567,4 @@ some isolated directory (e.g. ``/js/compiled``), to keep things organized:
567567 array('output' => 'js/compiled/main.js')
568568 ) as $url): ?>
569569 <script src="<?php echo $view->escape($url) ?>"></script>
570- <?php endforeach; ?>
570+ <?php endforeach ?>
0 commit comments