I'm customizing a simple_form gem-enabled form for which I'd like the phone number field to have a datamask from http://jasny.github.com/bootstrap/javascript.html#inputmask
My original code is:
<%= f.input :phone, :required => true,
:input_html => { :maxlength => 14} %>
What is the code required to pass something like into the f.input?
Using something like input_html and label_html doesn't seem to work.