Class: Playbook::PbForm::Form
- Defined in:
- app/pb_kits/playbook/pb_form/form.rb
Instance Method Summary collapse
Methods inherited from KitBase
Methods included from ZIndex
Methods included from Spacing
included, #max_width_options, #max_width_props, #max_width_values, #spacing_options, #spacing_props, #spacing_values
Methods included from Classnames
#generate_classname, #generate_classname_without_spacing, included
Methods included from Playbook::Props
Methods included from Playbook::PbKitHelper
Instance Method Details
#form_system_options ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'app/pb_kits/playbook/pb_form/form.rb', line 12 def = prop(:form_system_options) if .is_a?(::Array) model, = * ( || {}).merge(model: model) else end end |
#render_in(view_context, &block) ⇒ Object
22 23 24 |
# File 'app/pb_kits/playbook/pb_form/form.rb', line 22 def render_in(view_context, &block) form_kit.render_in(view_context, &block) end |