class Ariadne::Forms::Builder
:nodoc:
def check_box(method, options = {}, checked_value = 1, unchecked_value = 0, &block)
def check_box(method, options = {}, checked_value = 1, unchecked_value = 0, &block) super( method, classify(options).merge(generate_error_markup: false), checked_value, unchecked_value, &block ) end
def classify(options)
def classify(options) Ariadne::Forms::Utils.classify(options) end
def label(method, text = nil, **options, &block)
def label(method, text = nil, **options, &block) super(method, text, classify(options).merge(generate_error_markup: false), &block) end
def radio_button(*args, **options, &block)
def radio_button(*args, **options, &block) super(*args, classify(options).merge(generate_error_markup: false), &block) end
def select(method, choices = nil, options = {}, html_options = {}, &block)
def select(method, choices = nil, options = {}, html_options = {}, &block) super(method, choices, options.merge(generate_error_markup: false), classify(html_options), &block) end
def text_area(*args, **options, &block)
def text_area(*args, **options, &block) super(*args, classify(options).merge(generate_error_markup: false), &block) end
def text_field(*args, **options, &block)
def text_field(*args, **options, &block) super(*args, classify(options).merge(generate_error_markup: false), &block) end
def text_field_attributes(method, options = {})
def text_field_attributes(method, options = {}) Tags::TextField.new(@object_name, method, @template, options).attributes end