Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing content with document field #3

Open
northerner opened this issue Jun 16, 2016 · 0 comments
Open

Editing content with document field #3

northerner opened this issue Jun 16, 2016 · 0 comments

Comments

@northerner
Copy link
Contributor

This appears to be an issue with the FormtasticBootstrap library: mjbellantoni/formtastic-bootstrap#130

For now it can be fixed by monkey patching the method, add an initializer with the following code to your project:

module FormtasticBootstrapExtensions
  def self.included base
    base.instance_eval do
      def default_hint_class
        "your-default-class-name-here"
      end
    end
  end
end

FormtasticBootstrap::FormBuilder.send(:include, FormtasticBootstrapExtensions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant