symfony/symfony — Issue #3195: Customize an Individual field with camelCase name
Author: tiois
Created: 2012-01-26 19:55:58+00:00
State: open

I followed the documentation here : http://symfony.com/doc/2.0/cookbook/form/form_customization.html#how-to-customize-an-individual-field , it's working for all the fields I wanted to modify the display, except for one field that is named with camelCase.

The field :

```html

Image :

```
The overrided block for this field :

```twig
{% block _adtype_imageFile_row %}

* {{ form_label(form, label|default(null)) }}

{{ form_widget(form) }}
{% if errors|length > 0 %}

{{ form_errors(form) }}

{% endif %}

{% endblock %}
```

In the same view, I defined individual blocks and it's working fine, except for this one. Working fields are the ones named in lowercase.

Exemple of a working field :

```twig
{% block _adtype_translation_html_row %}

* {{ form_label(form, label|default(null)) }}

{{ form_widget(form) }}
{% if errors|length > 0 %}

{{ form_errors(form) }}

{% endif %}

{% endblock %}
```

Am I doing something wrong?

Thanks!