Monkey Patch to_input_field_tag to translate html5 input placeholder if :placeholder => true in options
This monkey patch is to translate placeholders automatically using rails when the option :placeholder is true
Written by Felipe De Boni
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#