From aeabe3744234a5e359fc549cbdb1d507630c384f Mon Sep 17 00:00:00 2001 From: Mathieu Decaffmeyer <5883963+mathieuprog@users.noreply.github.com> Date: Sun, 26 May 2024 10:58:18 +0800 Subject: [PATCH] Fix docs --- README.md | 2 +- lib/polymorphic_embed/html/form.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e00589a..a1d064d 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ You may use `polymorphic_embed_inputs_for/2` when working with LiveView. ```elixir <.form - let={f} + :let={f} for={@changeset} id="reminder-form" phx-change="validate" diff --git a/lib/polymorphic_embed/html/form.ex b/lib/polymorphic_embed/html/form.ex index a6aee90..609ad67 100644 --- a/lib/polymorphic_embed/html/form.ex +++ b/lib/polymorphic_embed/html/form.ex @@ -53,7 +53,7 @@ if Code.ensure_loaded?(Phoenix.HTML) && Code.ensure_loaded?(Phoenix.HTML.Form) & ## Example <.form - let={f} + :let={f} for={@changeset} id="reminder-form" phx-change="validate"