Show the value of a range field #803

sebfie opened this Issue Feb 16, 2012 · 5 comments

2 participants



I am using your range field, but i want to display the value on an other input/div and change the value when we slide. How can i do that?

Thank you.


Ok, and how can i put html in the :hint attribute?


@Ditchou what have you tried? Come on, I'm not here to hold your hand with everything!

f.input :foo, :as => :bah, :hint => "<span>Hello</span>".html_safe

That should work. For general questions, please use the Google group or Stack Overflow. Closing this one for now!


I tried that, but my html was escaped. Thank you for help !


@Ditchou did you try it with the .html_safe on the end? That really should work. Can you show your code please so I don't have to keep guessing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment