You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `common_association_items` to display associations that will not
be changed by the document type change
- Add `association_to_label` for associations that have different labels
in the interface to how they are referenced in the schema
value: "Will be <strong>deleted</strong>. A ‘#{@new_type.label}’ does not have a ‘#{field}’ association.".html_safe,
45
-
}
46
-
end
44
+
@lost_association_items=build_association_items(removed_assoc_keys,proc{ |field| "Will be <strong>deleted</strong>. A ‘#{@new_type.label}’ does not have a ‘#{field}’ association.".html_safe})
45
+
@new_association_items=build_association_items(added_assoc_keys,proc{ |field| "Will need to be <strong>added</strong>. A ‘#{@new_type.label}’ has a ‘#{field}’ association. This field will be blank after the change.".html_safe})
46
+
@common_association_items=build_association_items(common_assoc_keys,proc{"These associations will be carried over, you will not have to fill them in again."})
value: "Will need to be <strong>added</strong>. A ‘#{@new_type.label}’ has a ‘#{field}’ association. This field will be blank after the change.".html_safe,
0 commit comments