Sha256: bdf1b80f17144d9135c9f1561baf9f32b3bda5382fdf57ebbda181c228cb4b90
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
module Adminos class FormBuilder < SimpleForm::FormBuilder def input(attribute_name, options = {}, &block) locale = options.delete(:locale) attribute_name = [attribute_name, locale].compact.join('_') super(attribute_name, options, &block) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adminos-1.0.0.pre.rc.5 | lib/adminos/form_builder.rb |
adminos-1.0.0.pre.rc.4 | lib/adminos/form_builder.rb |
adminos-1.0.0.pre.rc.3 | lib/adminos/form_builder.rb |