@@ -1170,13 +1170,10 @@ easy to use in your application.
1170
1170
<?xml version =" 1.0" encoding =" UTF-8" ?>
1171
1171
<container xmlns =" http://symfony.com/schema/dic/services"
1172
1172
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1173
- xsi : schemaLocation =" http://symfony.com/schema/dic/services
1174
- http://symfony.com/schema/dic/services/services-1.0.xsd" >
1173
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
1175
1174
1176
1175
<services >
1177
- <service id =" app.form.type.task"
1178
- class =" AppBundle\Form\Type\TaskType" >
1179
-
1176
+ <service id =" app.form.type.task" class =" AppBundle\Form\Type\TaskType" >
1180
1177
<tag name =" form.type" alias =" task" />
1181
1178
</service >
1182
1179
</services >
@@ -1480,7 +1477,7 @@ renders the form:
1480
1477
{# app/Resources/views/default/new.html.twig #}
1481
1478
{% form_theme form 'form/fields.html.twig' %}
1482
1479
1483
- {# or if providing multiple themes #}
1480
+ {# or if you want to use multiple themes #}
1484
1481
{% form_theme form 'form/fields.html.twig' 'Form/fields2.html.twig' %}
1485
1482
1486
1483
{# ... render the form #}
@@ -1490,7 +1487,7 @@ renders the form:
1490
1487
<!-- app/Resources/views/default/new.html.php -->
1491
1488
<?php $view['form']->setTheme($form, array('form')) ?>
1492
1489
1493
- <!-- or if providing multiple themes -->
1490
+ <!-- or if you want to use multiple themes -->
1494
1491
<?php $view['form']->setTheme($form, array('form', 'form2')) ?>
1495
1492
1496
1493
<!-- ... render the form -->
@@ -1633,10 +1630,8 @@ file:
1633
1630
<container xmlns =" http://symfony.com/schema/dic/services"
1634
1631
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1635
1632
xmlns : twig =" http://symfony.com/schema/dic/twig"
1636
- xsi : schemaLocation =" http://symfony.com/schema/dic/services
1637
- http://symfony.com/schema/dic/services/services-1.0.xsd
1638
- http://symfony.com/schema/dic/twig
1639
- http://symfony.com/schema/dic/twig/twig-1.0.xsd" >
1633
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
1634
+ http://symfony.com/schema/dic/twig http://symfony.com/schema/dic/twig/twig-1.0.xsd" >
1640
1635
1641
1636
<twig : config >
1642
1637
<twig : form >
@@ -1721,10 +1716,8 @@ file:
1721
1716
<container xmlns =" http://symfony.com/schema/dic/services"
1722
1717
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
1723
1718
xmlns : framework =" http://symfony.com/schema/dic/symfony"
1724
- xsi : schemaLocation =" http://symfony.com/schema/dic/services
1725
- http://symfony.com/schema/dic/services/services-1.0.xsd
1726
- http://symfony.com/schema/dic/symfony
1727
- http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
1719
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
1720
+ http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
1728
1721
1729
1722
<framework : config >
1730
1723
<framework : templating >
0 commit comments