From 130c3da25ba613a2457998403d6a0cb6a8cce8bb Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Tue, 24 Dec 2024 10:09:15 -1000 Subject: [PATCH] More doc links --- .../phx1_7/lib/phx1_7_web/components/core_components.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/support/apps/phx1_7/lib/phx1_7_web/components/core_components.ex b/test/support/apps/phx1_7/lib/phx1_7_web/components/core_components.ex index c931cd93..a36329dc 100644 --- a/test/support/apps/phx1_7/lib/phx1_7_web/components/core_components.ex +++ b/test/support/apps/phx1_7/lib/phx1_7_web/components/core_components.ex @@ -270,9 +270,9 @@ defmodule Phx17Web.CoreComponents do @doc """ Renders an input with label and error messages. - A `%Phoenix.HTML.Form{}` and field name may be passed to the input - to build input names and error messages, or all the attributes and - errors may be passed explicitly. + A `%Phoenix.HTML.Form{}` (see `Phoenix.HTML.Form{}`) and field name may be + passed to the input to build input names and error messages, or all the + attributes and errors may be passed explicitly. ## Examples @@ -295,7 +295,7 @@ defmodule Phx17Web.CoreComponents do attr :errors, :list, default: [] attr :checked, :boolean, doc: "the checked flag for checkbox inputs" attr :prompt, :string, default: nil, doc: "the prompt for select inputs" - attr :options, :list, doc: "the options to pass to Phoenix.HTML.Form.options_for_select/2" + attr :options, :list, doc: "the options to pass to `Phoenix.HTML.Form.options_for_select/2`" attr :multiple, :boolean, default: false, doc: "the multiple flag for select inputs" attr :rest, :global, include: ~w(autocomplete cols disabled form max maxlength min minlength pattern placeholder readonly required rows size step)