blackknight467 / StarRatingBundle

star rating bundle for symfony
MIT License
26 stars 40 forks source link

Label appearing twice #1

Closed joe-invita closed 9 years ago

joe-invita commented 9 years ago

Hello. I like this bundle, was easy to use(instructions on getting font awesome too would have helped but fine)

I have deployed my form with the stars, but the form label is appearing twice for some reason. I am using a loop to render my form that looks kind of like {{form.label}}{{form.form}}

Not sure why the label is being duplicated. The rest of the form appears normally

Thank you

blackknight467 commented 9 years ago

@joe936 can you share how you build your form and the how you render your form. I can help work our a solution.

joe-invita commented 9 years ago

It's fine. I added a class for the form label and made the first child hidden... thanks though

blackknight467 commented 9 years ago

Ah ok. I see what you mean though. I tried it with just form_row and then the form_label/form_widget combo and i saw the double label with the form_label/form_widget combo. That is actually a bit of a bug and i'll have to figure out how get it to work with the form_label/form_widget like the rest of the symfony form stuff. Expect an update over the break once i figure it out. Thanks for reporting the issue.

joe-invita commented 9 years ago

Goodluck with it :) Thanks for the awesome bundle

blackknight467 commented 9 years ago

@joe936 FIXED!