Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
strange problem when add attr in label
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcello Voc  
View profile  
 More options Oct 5 2012, 6:13 pm
From: Marcello Voc <voc.marce...@gmail.com>
Date: Fri, 5 Oct 2012 15:13:59 -0700 (PDT)
Local: Fri, Oct 5 2012 6:13 pm
Subject: strange problem when add attr in label

{{ form_label(form.username, { 'label_attr': {'class': 'task_field'} }) }}

result

Array

.....not put the class.....and why change my Label's name to Array.........


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michał Piotrowski  
View profile  
 More options Oct 5 2012, 6:15 pm
From: Michał Piotrowski <mkkp...@gmail.com>
Date: Sat, 6 Oct 2012 00:15:50 +0200
Local: Fri, Oct 5 2012 6:15 pm
Subject: Re: [Symfony2] strange problem when add attr in label
Hi,

2012/10/6 Marcello Voc <voc.marce...@gmail.com>:

> {{ form_label(form.username, { 'label_attr': {'class': 'task_field'} }) }}

{{ form_label(form.username, null, { 'label_attr': {'class':
'task_field'} }) }} ?

--
Best regards,
Michal

http://eventhorizon.pl/
https://getactive.pl/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcello Voc  
View profile  
 More options Oct 5 2012, 6:17 pm
From: Marcello Voc <voc.marce...@gmail.com>
Date: Fri, 5 Oct 2012 15:17:49 -0700 (PDT)
Local: Fri, Oct 5 2012 6:17 pm
Subject: Re: [Symfony2] strange problem when add attr in label

thxxxx
i forgot the nulll :-)))))

thx bye


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »