Sha256: 569cebd7a8bc3e3188475f66582dfe655f710e074f40c2694f36dd37cdaedd2e

Contents?: true

Size: 343 Bytes

Versions: 29

Compression:

Stored size: 343 Bytes

Contents

module Formtastic
  module Inputs
    module Base
      module Placeholder
        
        def input_html_options
          {:placeholder => placeholder_text}.merge(super)
        end
        
        def placeholder_text
          localized_string(method, options[:placeholder], :placeholder)
        end
        
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/formtastic-4.0.0/lib/formtastic/inputs/base/placeholder.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/formtastic-4.0.0/lib/formtastic/inputs/base/placeholder.rb
formtastic-4.0.0 lib/formtastic/inputs/base/placeholder.rb
formtastic-4.0.0.rc1 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.5 lib/formtastic/inputs/base/placeholder.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/formtastic-3.1.4/lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.4 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.3 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.2 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.1 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.0 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.0.rc2 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.1.0.rc1 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.0.0 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.0.0.rc2 lib/formtastic/inputs/base/placeholder.rb
formtastic-2.3.1 lib/formtastic/inputs/base/placeholder.rb
formtastic-2.3.0 lib/formtastic/inputs/base/placeholder.rb
formtastic-3.0.0.rc lib/formtastic/inputs/base/placeholder.rb
formtastic-2.3.0.rc4 lib/formtastic/inputs/base/placeholder.rb
formtastic-2.3.0.rc3 lib/formtastic/inputs/base/placeholder.rb