<.header> <%= schema.human_singular %> {@<%= schema.singular %>.id} <:subtitle>This is a <%= schema.singular %> record from your database. <:actions> <.link href={~p"<%= schema.route_prefix %>/#{@<%= schema.singular %>}/edit"}> <.button>Edit <%= schema.singular %> <.list><%= for {k, _} <- schema.attrs do %> <:item title="<%= Phoenix.Naming.humanize(Atom.to_string(k)) %>">{@<%= schema.singular %>.<%= k %>}<% end %> <.back navigate={~p"<%= schema.route_prefix %>"}>Back to <%= schema.plural %>