Sha256: 9e8b0556e9987e9a6d259918f5692ef53ab2a82e9c095fa048abe1f3de994433

Contents?: true

Size: 234 Bytes

Versions: 17

Compression:

Stored size: 234 Bytes

Contents

module Headmin
  module Form
    module Placeholderable
      extend ActiveSupport::Concern

      included do
        def placeholder
          float ? @placeholder || attribute : @placeholder
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
headmin-0.6.3 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.6.2 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.6.1 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.6.0 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.9 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.8 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.7 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.6 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.5 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.4 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.3 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.2 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.1 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.5.0 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.4.2 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.4.1 app/models/concerns/headmin/form/placeholderable.rb
headmin-0.4.0 app/models/concerns/headmin/form/placeholderable.rb