<%= scope.assign_key %>={@<%= scope.assign_key %>}<% end %>> <.header> <%= schema.human_singular %> {@<%= schema.singular %>.<%= primary_key %>} <:subtitle>This is a <%= schema.singular %> record from your database. <:actions> <.button navigate={~p"<%= scope_assign_route_prefix %><%= schema.route_prefix %>"}> <.icon name="hero-arrow-left" /> <.button variant="primary" navigate={~p"<%= scope_assign_route_prefix %><%= schema.route_prefix %>/#{@<%= schema.singular %>}/edit?return_to=show"}> <.icon name="hero-pencil-square" /> Edit <%= schema.singular %> <.list><%= for {k, _} <- schema.attrs do %> <:item title="<%= Phoenix.Naming.humanize(Atom.to_string(k)) %>">{@<%= schema.singular %>.<%= k %>}<% end %>