Sha256: ae244470a23e379b4e764a1134ca9e044023661053386889ed4585c2b2d5e1fb
Contents?: true
Size: 413 Bytes
Versions: 96
Compression:
Stored size: 413 Bytes
Contents
module Pageflow module Admin # @api private class FormInput attr_reader :attribute_name def initialize(attribute_name, options) @attribute_name = attribute_name @options = options end def build(form_builder) options = @options.respond_to?(:call) ? @options.call : @options form_builder.input(attribute_name, options) end end end end
Version data entries
96 entries across 96 versions & 1 rubygems