Skip to content

Commit 7a9f3c3

Browse files
committed
fix pet name in show template
1 parent b7d6b3e commit 7a9f3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/nested_web/live/owner_live/show.html.leex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<ul>
2424
<%= for pet <- @owner.pets do %>
2525
<li>
26-
<strong>Name:</strong> <%= @owner.name %>,
26+
<strong>Name:</strong> <%= pet.name %>,
2727
<strong>Toys:</strong> <%= pet.toys |> Enum.map(& &1.name) |> Enum.join(", ") %>
2828
</li>
2929
<% end %>

0 commit comments

Comments
 (0)