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 a232517 commit 834c5dcCopy full SHA for 834c5dc
lib/test_dispatch/form.ex
@@ -10,7 +10,7 @@ defmodule TestDispatch.Form do
10
do: find_input_fields(form, entity_tuple)
11
12
def find_inputs(form, {:button_text, button_text}) do
13
- button = find_buttons(form, button_text)
+ button = find_button(form, button_text)
14
15
if button,
16
do: [button | find_default_inputs(form)],
@@ -29,7 +29,7 @@ defmodule TestDispatch.Form do
29
Enum.uniq(fields ++ selects ++ textareas ++ radio_buttons)
30
end
31
32
- def find_buttons(form, button_text),
+ def find_button(form, button_text),
33
do:
34
find_submit_input(form, button_text) ||
35
find_submit_button(form, button_text)
0 commit comments