Updated form to work with nested_attributes model