engine/spec/dummy/config/initializers/formtastic.rb

6 lines
193 B
Ruby
Raw Normal View History

require 'formtastic'
require 'locomotive/misc_form_builder'
Formtastic::SemanticFormHelper.builder = Locomotive::MiscFormBuilder
Formtastic::SemanticFormBuilder.i18n_lookups_by_default = true