« Return to Thread: A quick question on radio buttons (again)

A quick question on radio buttons (again)

by dmitrybelyakov :: Rate this Message:

Reply to Author | View in Thread

Hello,

I know this had been raised a million times but i think i broke my head trying to get through the reference guide for 2 days. Now i google and see a lot of people complain about lack of useful examples in the docs so thought it it would be ok if i post on the topic again. Hope this will be a quick one:



What i want to is have my radio buttons with small images like this:



<input type="radio" name="cardType" id="cardType-gold">
    <label for="cardType-gold">
        <img src="" /> Gold card
    </label>


What do I need for that? A custom view helper? A custom decorator? Can i do it by configuration?



Thanks a lot!
Dmitry.

 « Return to Thread: A quick question on radio buttons (again)