mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix ?
This commit is contained in:
@@ -2,7 +2,7 @@ class AngularFormBuilder < ActionView::Helpers::FormBuilder
|
||||
# TODO: Use ng_ prefix, like ng_fields_for
|
||||
|
||||
def angular_fields_for(record_name, *args, &block)
|
||||
raise "Nested angular_fields_for is not yet supported" if @fields_for_record_name.present
|
||||
raise "Nested angular_fields_for is not yet supported" if @fields_for_record_name.present?
|
||||
@fields_for_record_name = record_name
|
||||
block.call self
|
||||
@fields_for_record_name = nil
|
||||
|
||||
Reference in New Issue
Block a user