Sha256: 86386416df1510a1f0c8bd057d01a1b26a5386931beebacf37554fb1745b5f3c
Contents?: true
Size: 529 Bytes
Versions: 113
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Effective module FormInputs class EmailCcField < Effective::FormInput def build_input(&block) @builder.super_text_field(name, options[:input]) end def input_html_options { class: 'form-control', placeholder: 'one@example.com,two@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 end end end
Version data entries
113 entries across 113 versions & 1 rubygems