Sha256: e570f1a3f7baa3e4bc024324b8bb85c7247422b9001dacfd333a43b0b53cfb6e
Contents?: true
Size: 479 Bytes
Versions: 54
Compression:
Stored size: 479 Bytes
Contents
module Effective module FormInputs class EmailField < Effective::FormInput def input_html_options { class: 'form-control', placeholder: 'someone@example.com', id: tag_id } end def input_group_options { input_group: { class: 'input-group' }, prepend: content_tag(:span, icon('at-sign'), class: 'input-group-text') } end # This has gotta be a valid pattern def validated?(name) true end end end end
Version data entries
54 entries across 54 versions & 1 rubygems