Sha256: 5679f0c688970d1799277f2590b297d9d09e4b7314387e1e68e08184253e8978
Contents?: true
Size: 454 Bytes
Versions: 3
Compression:
Stored size: 454 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems