symfony/symfony-docs — pull request #3698 by michaelperrin (2014-03-20 13:57:16+00:00)
Title: Dynamic form modification cookbook: Fix inclusion of code 

Unfortunately, reStructuredText doesn't support inclusion of code inside a code block, resulting to non-interpreted code (the `include` keyword is not displayed) as it happens on http://symfony.com/doc/2.3/cookbook/form/dynamic_form_modification.html .

I tried in many ways to avoid this, but didn't find any nice way. I had to duplicate code instead.

The PR includes a few minor fixes on code style as well.