From 3262996dc0c91043747cb650581e5125d385a969 Mon Sep 17 00:00:00 2001 From: Jeremy Grant Date: Tue, 1 Aug 2023 23:19:04 +1000 Subject: [PATCH] fix(create-form): errors from removal of surface (#60) --- lib/ash_admin/components/resource/form.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ash_admin/components/resource/form.ex b/lib/ash_admin/components/resource/form.ex index 86428d9..dce50c4 100644 --- a/lib/ash_admin/components/resource/form.ex +++ b/lib/ash_admin/components/resource/form.ex @@ -262,18 +262,18 @@ defmodule AshAdmin.Components.Resource.Form do
- <%= if relationship not in @skip and @argument.name not in @skip do %> + <%= if relationship not in @skip and argument.name not in @skip do %> <%= render_relationship_input( assigns, - Ash.Resource.Info.relationship(@form.source.resource, @relationship), + Ash.Resource.Info.relationship(@form.source.resource, relationship), @form, - @argument, + argument, opts ) %> <% end %>