Class: Arbre::Rails::Forms::FieldsForProxy
Instance Attribute Summary
#form_builder
Instance Method Summary
collapse
#label, #respond_to_missing?, #select
Methods inherited from Component
#tag_name
Instance Method Details
#build(form_builder, *args, &block) ⇒ Object
75
76
77
78
79
80
81
|
# File 'lib/arbre/rails/forms.rb', line 75
def build(form_builder, *args, &block)
form_builder.fields_for(*args) do |f|
@form_builder = f
end
super(&block)
end
|
#to_s ⇒ Object
83
84
85
|
# File 'lib/arbre/rails/forms.rb', line 83
def to_s
children.to_s
end
|