simple form - Custom inputs with simple_form and Foundation 5 -
I have created a custom input in simple_form and I am using Foundation 5. class currency input & lt; SimpleForm :: Inputs :: Base Def input input_html_classes.unshift ("string currency") input_html_options [: type] || = Input_type if html5? "$ # {@ Builder.text_field (attribute_name, input_html_options)}". Html_safe End End In the input field created is the default browser style. How can I apply the Foundation text field styles to this currency field so that it looks like all my other text fields? I have tried to use the class names used by the Foundation for other areas but it has no effect. I can not find any document to do this. How can I do this? Any help is appreciated. / bower_components / In your foundation installation Starting from the line 407 (in the most recent foundation) you should see: / P> / * We use it for basic structure elements / basic input type [Type = "text"], input [type = "password"], to get t...