Yellow Flag

This website version is not maintained anymore

Up to date documentation is available in Symfony 3.x website (see the dropdown menu above).

Advanced usage: custom theme and several fields

An example that shows how works theming on a form with more than one field.


This demostration is made of the following files (click to see on GitHub in a new tab):
    -     Controller/AdvancedController.php
    -     Entity/Address.php
    -     Entity/Addresses.php
    -     Form/AddressType.php
    -     Form/AddressesType.php
    -     Resources/views/Advanced/addressesTheme.html.twig
    -     Resources/views/Advanced/formHavingSeveralFields.html.twig

<-+>

Mickael Steller at fuz.org, 41 rue de la Paix, 75002 Paris, France