Thanks Fabien for quick answer. As far as I understand in master of
Twig, right?
Regarding your warn, yes I know, we are use not very last version of
Twig, only 1.0.0-BETA1 yet.

On Jan 12, 5:54 pm, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> On 1/12/11 1:45 PM, OlegZinchenko wrote:
>
>
>
> > In my form I have next:
>
> > $this->add(new DateField('dateBefore'));
>
> > in Twig template I have next:
>
> > <table>
> >      {% for field in form %}
> >          <th>{{ field|render_label }}</th>
> >          <td>{{ field|render }}</td>
> >      {% endfor %}
> > </table>
>
> > as result I have next view, IMO it`s twig issue I call it "over
> > escaping"
> >http://h1813090.stratoserver.net/files/share/12_1_2011/zm02zg5ofEeXU4...
>
> > This issue occurs only at DateField, others fields are render good,
> > even others dropdowns.
>
> This has been fixed in the master. Be careful as this filter is now a
> function:
>
>   <table>
>        {% for field in form %}
>            <th>{{ form_label(field) }}</th>
>            <td>{{ form_field(field) }}</td>
>        {% endfor %}
>   </table>
>
> Fabien

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to