Sha256: 09ca52f4f68ab1607cace0c54418f5b2afd02fcf1733e699b923b1851ef5a7c1
Contents?: true
Size: 477 Bytes
Versions: 69
Compression:
Stored size: 477 Bytes
Contents
require "simple_form" module Plutonium module SimpleForm module InputGroupComponent def prepend(_wrapper_options = nil) template.content_tag(:span, options[:prepend], class: "input-group-text") end def append(_wrapper_options = nil) template.content_tag(:span, options[:append], class: "input-group-text") end end end end # Register with simple_form SimpleForm.include_component(Plutonium::SimpleForm::InputGroupComponent)
Version data entries
69 entries across 69 versions & 1 rubygems