Sha256: 944282c115541a1d671b881cd8ce9a7168be8142c57f70fd1f3e79878d1503d7

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbForm
    module FormBuilder
      extend ActiveSupport::Concern

      included do
        prepend(TextInputBuilder.new(:email_field))
        prepend(TextInputBuilder.new(:number_field))
        prepend(TextInputBuilder.new(:search_field))
        prepend(TextInputBuilder.new(:telephone_field))
        prepend(TextInputBuilder.new(:text_field))
        prepend(TextInputBuilder.new(:password_field))
        prepend(TextInputBuilder.new(:url_field))

        def actions(&block)
          ActionArea.new(self).wrapper(&block)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-3.0.1 app/pb_kits/playbook/pb_form/form_builder.rb
playbook_ui-3.0.0 app/pb_kits/playbook/pb_form/form_builder.rb