0
  <%=form_for @link do |f| %>
  <%=  f.collection_radio_buttons :title, [[''] ,[''],[''],[''],  ['']], :first, :last%>

  <%= f.submit 'Save'%>

I'm trying to make the the emojis of my radio buttons clickable (instead of clicking the circle button I want to click the actual emoji).

Then, I want to get rid of the little circle buttons so all that can be seen is the emojis.

Finally, I want there to be some sort of visual signal when one of the emojis is chosen, such as a highlight, since the actual radio button will be gone.

I'm using the simple_form gem. I've searched for days but can't figure out how to do this. Thank you so much for your help!

1 Answers1

0

Why you can't to try emojis inserted of emoji images, For your reference

using images in radio button

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Prasanth_Rubyist
  • 440
  • 5
  • 14