Sha256: bd8c81824e3f2471b38b526130b49a2a26de43c2503f1c3ceb6631258890f0f4
Contents?: true
Size: 867 Bytes
Versions: 1
Compression:
Stored size: 867 Bytes
Contents
# frozen_string_literal: true module Playbook module PbForm module FormBuilder extend ActiveSupport::Concern included do prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:search_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:telephone_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:text_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:password_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:url_field, kit_name: "text_input")) prepend(FormFieldBuilder.new(:text_area, kit_name: "textarea")) def actions(&block) ActionArea.new(self).wrapper(&block) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-3.1.0 | app/pb_kits/playbook/pb_form/form_builder.rb |