Sha256: fb2b488dadae51d7d0615a2a9fe141b1a38d5005192d61a3b07066bf960715b6

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module SimpleFormWithClientValidation
  module Components
    module LabelInput
      extend ActiveSupport::Concern

      included do
        include SimpleFormWithClientValidation::Components::Labels
      end

      def label_input
        (options[:label] == false ? "" : label) + input
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_form_with_client_validation-0.0.2 lib/simple_form_with_client_validation/components/label_input.rb
simple_form_with_client_validation-0.0.0 lib/simple_form_with_client_validation/components/label_input.rb