Sha256: 68f250b873c258c80b1d817dadd315d4e0d7fa643e72d063c6f950ed6e966f63

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

module Formnestic
  module Inputs
    module Base
      module Labelling
        def render_label?
          if builder.options[:display_type] == 'table'
            false
          else
            formtastic_render_label?
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
formnestic-1.0.12 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.11 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.10 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.9 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.8 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.7 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.6 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.5 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.4 lib/formnestic/inputs/base/labelling.rb
formnestic-1.0.3 lib/formnestic/inputs/base/labelling.rb