Sha256: d4bece58938b346d0963f3ef03dde0b9bd7f52ae933acc382667ef6d6479121d

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

module SimpleFormWithClientValidation
  module Inputs
    class CollectionSelectInput < CollectionInput
      def input
        label_method, value_method = detect_collection_methods

        @builder.collection_select(
          attribute_name, collection, value_method, label_method,
          input_options, input_html_options
        )
      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/inputs/collection_select_input.rb
simple_form_with_client_validation-0.0.0 lib/simple_form_with_client_validation/inputs/collection_select_input.rb