Sha256: e0f3eb13fad87b1823db84a98ec9fc76876310dbb770ea98c96576d5b5413127
Contents?: true
Size: 558 Bytes
Versions: 5
Compression:
Stored size: 558 Bytes
Contents
module FormtasticBootstrap module Actions module Base # Bootstrap doesn't have wrappers. def wrapper(&block) template.capture(&block) end # Default button class def default_wrapper_classes ["btn"] end # :wrapper_html member :class is prefixed with btn # :button_html member :class is all encompassing def default_button_html { :accesskey => accesskey, :class => wrapper_class.strip, :id => wrapper_id } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems