We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6e160 commit 61e5ea7Copy full SHA for 61e5ea7
lib/phoenix_html/form.ex
@@ -90,7 +90,7 @@ defmodule Phoenix.HTML.Form do
90
91
def fetch(%Form{}, field) do
92
raise ArgumentError,
93
- "accessing a form with form[field] requires the field to be atom, got: #{inspect(field)}"
+ "accessing a form with form[field] requires the field to be an atom or a string, got: #{inspect(field)}"
94
end
95
96
defp fetch(%{errors: errors} = form, field, field_as_string) do
0 commit comments