Skip to content

Commit

Permalink
Fix typo for core components documentation (#5732)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentopensourcetaiwan committed May 2, 2024
1 parent d190649 commit a9197a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer/templates/phx_web/components/core_components.ex
Expand Up @@ -189,7 +189,7 @@ defmodule <%= @web_namespace %>.CoreComponents do
</:actions>
</.simple_form>
"""
attr :for, :any, required: true, doc: "the datastructure for the form"
attr :for, :any, required: true, doc: "the data structure for the form"
attr :as, :any, default: nil, doc: "the server side parameter to collect all input under"

attr :rest, :global,
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.live/core_components.ex
Expand Up @@ -189,7 +189,7 @@ defmodule <%= @web_namespace %>.CoreComponents do
</:actions>
</.simple_form>
"""
attr :for, :any, required: true, doc: "the datastructure for the form"
attr :for, :any, required: true, doc: "the data structure for the form"
attr :as, :any, default: nil, doc: "the server side parameter to collect all input under"

attr :rest, :global,
Expand Down

0 comments on commit a9197a8

Please sign in to comment.