diff --git a/apps/app/priv/templates/phx.gen.html/index.html.eex b/apps/app/priv/templates/phx.gen.html/index.html.eex index a5f563d9..6b6eb5ae 100644 --- a/apps/app/priv/templates/phx.gen.html/index.html.eex +++ b/apps/app/priv/templates/phx.gen.html/index.html.eex @@ -1,9 +1,9 @@
-

<%= schema.human_plural %>

+

<%= schema.human_plural %>

-
+
<%%= styled_button_link "New <%= schema.human_singular %>", to: Routes.<%= schema.route_helper %>_path(@conn, :new) %>
@@ -12,16 +12,16 @@ - <%= for {k, _} <- schema.attrs do %> + <%= for {k, _} <- schema.attrs do %> <% end %> - + <%%= case @<%= schema.plural %> do %> <%%= [] -> %> - @@ -29,15 +29,15 @@ <%%= for <%= schema.singular %> <- @<%= schema.plural %> do %> <%= for {k, _} <- schema.attrs do %> - <% end %> -
<%= Phoenix.Naming.humanize(Atom.to_string(k)) %><%= Phoenix.Naming.humanize(Atom.to_string(k)) %>
+ No results.
+ <%%= link <%= schema.singular %>.<%= k %>, to: Routes.<%= schema.route_helper %>_path(@conn, :show, <%= schema.singular %>) %> +