diff --git a/priv/templates/ash_phoenix.gen.html/resource_form.html.heex b/priv/templates/ash_phoenix.gen.html/resource_form.html.heex index bb7ff8b..2da8bd3 100644 --- a/priv/templates/ash_phoenix.gen.html/resource_form.html.heex +++ b/priv/templates/ash_phoenix.gen.html/resource_form.html.heex @@ -7,7 +7,7 @@ <%= if attribute.type in [Ash.Type.Integer] do %> <.input field={f[:<%= attribute.name %>]} type="number" label="<%= Phoenix.Naming.humanize(attribute.name) %>" /> <% else %> - <.input field={f[:<%= attribute.name %>]} type="text" label="<%= Phoenix.Naming.hunamize(attribute.name) %>" /> + <.input field={f[:<%= attribute.name %>]} type="text" label="<%= Phoenix.Naming.humanize(attribute.name) %>" /> <% end %> <% end %> <%% end %> diff --git a/priv/templates/ash_phoenix.gen.html/show.html.heex b/priv/templates/ash_phoenix.gen.html/show.html.heex index 65547a7..492c1e9 100644 --- a/priv/templates/ash_phoenix.gen.html/show.html.heex +++ b/priv/templates/ash_phoenix.gen.html/show.html.heex @@ -10,7 +10,7 @@ <.list> <%= for attribute <- @attributes do %> - <:item title="<%= Phoenix.Naming.hunamize(attribute.name) %>"><%%= @<%= @singular %>.<%= attribute.name %> %> + <:item title="<%= Phoenix.Naming.humanize(attribute.name) %>"><%%= @<%= @singular %>.<%= attribute.name %> %> <% end %>