lib/phlexi/form/builder.rb in phlexi-form-0.6.0 vs lib/phlexi/form/builder.rb in phlexi-form-0.6.1
- old
+ new
@@ -160,10 +160,10 @@
def select_tag(**, &)
create_component(Components::Select, :select, **, &)
end
def belongs_to_tag(**, &)
- create_component(Components::BelongsTo, :has_many, **, &)
+ create_component(Components::BelongsTo, :belongs_to, **, &)
end
def polymorphic_belongs_to_tag(**, &)
# TODO: this requires a grouped_select component
# see: Plutonium::Core::Fields::Inputs::PolymorphicBelongsToAssociationInput