Sha256: eee310fc22a730bad9631ad315efaafd1a182a1b07391c3c72b9a9cb155e458a

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

module Shimmer
  module Form
    class RadioField < Field
      self.type = :radio

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shimmer-0.0.24 lib/shimmer/form/radio_field.rb
shimmer-0.0.23 lib/shimmer/form/radio_field.rb
shimmer-0.0.22 lib/shimmer/form/radio_field.rb
shimmer-0.0.21 lib/shimmer/form/radio_field.rb