Skip to content

Commit

Permalink
fix: remove typo in template
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 24, 2023
1 parent 47436e9 commit 2567f3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/ash_phoenix.gen.html/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<.list>
<%= for attribute <- @attributes do %>
<:item title="<%= Phoenix.Naming.hunamize(attribute.name) %>"><%%= @<%= @singular %>.<%= attribute.name %> %></:item>
<:item title="<%= Phoenix.Naming.humanize(attribute.name) %>"><%%= @<%= @singular %>.<%= attribute.name %> %></:item>
<% end %>
</.list>

Expand Down

0 comments on commit 2567f3a

Please sign in to comment.