<%= schema.human_plural %>

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