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

Version Path
effective_bootstrap-0.13.1 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.13.0 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.7 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.6 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.5 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.4 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.3 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.2 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.1 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.12.0 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.22 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.21 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.20 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.19 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.18 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.17 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.16 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.15 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.14 app/models/effective/form_inputs/email_cc_field.rb
effective_bootstrap-0.11.13 app/models/effective/form_inputs/email_cc_field.rb