Class: Formular::Element::Checkbox

Inherits:
Control
  • Object
show all
Includes:
Modules::Checkable
Defined in:
lib/formular/elements.rb

Overview

class Select

Instance Method Summary collapse

Methods included from Module

included

Instance Method Details

#hidden_tagObject



260
261
262
263
264
# File 'lib/formular/elements.rb', line 260

def hidden_tag
  return '' unless options[:include_hidden]

  Hidden.(value: options[:unchecked_value], name: attributes[:name]).to_s
end