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