Skip to content

Commit

Permalink
fix(create-form): errors from removal of surface (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremygrant authored Aug 1, 2023
1 parent 7085e88 commit 3262996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ash_admin/components/resource/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,18 @@ defmodule AshAdmin.Components.Resource.Form do
</div>
</div>
<div :for={{relationship, argument, opts} <- relationship_args}>
<%= if relationship not in @skip and @argument.name not in @skip do %>
<%= if relationship not in @skip and argument.name not in @skip do %>
<label
class="block text-sm font-medium text-gray-700"
for={@form.name <> "[#{@argument.name}]"}
for={@form.name <> "[#{argument.name}]"}
>
<%= to_name(argument.name) %>
</label>
<%= 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 %>
Expand Down

0 comments on commit 3262996

Please sign in to comment.