Sha256: 08478c4e4b3831e3b7980074b5008a005125568fc422d8f1cb512aecb1bc7ffa
Contents?: true
Size: 373 Bytes
Versions: 7
Compression:
Stored size: 373 Bytes
Contents
module Effective module FormInputs class UrlField < Effective::FormInput def input_html_options { class: 'form-control', placeholder: 'https://www.example.com' } end def input_group_options { input_group: { class: 'input-group' }, prepend: content_tag(:span, icon('link'), class: 'input-group-text') } end end end end
Version data entries
7 entries across 7 versions & 1 rubygems