Hi,

I have added a RepeatedField to a form:

$enterprise->add(new RepeatedField(new PasswordField('password'),
array('first_key' => 'password', 'second_key' => 'password_again')));

How can I change the labels Password and Password again in Twig?

    {{ form_label(form.enterprise.password, 'Password') }}:<br>
    {{ form_field(form.enterprise.password) }}<br>

Regards,

Andras

-- 
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 developers" 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-devs?hl=en

Reply via email to