Module: Card::Set::All::Bootstrap::Form::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/form.rb
Instance Method Summary collapse
-
#bootstrap_options(options) ⇒ Object
-
#button_tag(content_or_options = nil, options = {}, &block) ⇒ Object
-
#type_field(args = {}) ⇒ Object
Instance Method Details
#bootstrap_options(options) ⇒ Object
32 33 34 35 36 |
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/form.rb', line 32 def [:class] ||= "" [:class] += " form-control" end |
#button_tag(content_or_options = nil, options = {}, &block) ⇒ Object
21 22 23 24 |
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/form.rb', line 21 def =nil, ={}, &block (block_given? ? : ) super end |
#type_field(args = {}) ⇒ Object
26 27 28 29 30 |
# File 'platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/form.rb', line 26 def type_field args={} args[:class] ||= "" args[:class] += " form-control" super end |