Sha256: 412349026d8952b63fc3c0d1ea7116e64236b8b1374c6394492d38d6efc36449

Contents?: true

Size: 259 Bytes

Versions: 17

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

module Shimmer
  module Form
    class RadiosField < Field
      self.type = :radios

      def render
        builder.collection_radio_buttons method, collection, id_method, name_method, {}, options
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shimmer-0.0.41 lib/shimmer/form/radios_field.rb
shimmer-0.0.40 lib/shimmer/form/radios_field.rb
shimmer-0.0.39 lib/shimmer/form/radios_field.rb
shimmer-0.0.38 lib/shimmer/form/radios_field.rb
shimmer-0.0.37 lib/shimmer/form/radios_field.rb
shimmer-0.0.36 lib/shimmer/form/radios_field.rb
shimmer-0.0.35 lib/shimmer/form/radios_field.rb
shimmer-0.0.34 lib/shimmer/form/radios_field.rb
shimmer-0.0.33 lib/shimmer/form/radios_field.rb
shimmer-0.0.32 lib/shimmer/form/radios_field.rb
shimmer-0.0.31 lib/shimmer/form/radios_field.rb
shimmer-0.0.30 lib/shimmer/form/radios_field.rb
shimmer-0.0.29 lib/shimmer/form/radios_field.rb
shimmer-0.0.28 lib/shimmer/form/radios_field.rb
shimmer-0.0.27 lib/shimmer/form/radios_field.rb
shimmer-0.0.26 lib/shimmer/form/radios_field.rb
shimmer-0.0.25 lib/shimmer/form/radios_field.rb