From 4cd2ae458314d45ae774d52bd746eb72dbcfd333 Mon Sep 17 00:00:00 2001 From: Adam Kirk Date: Fri, 8 Dec 2023 14:50:25 -0700 Subject: [PATCH] fixing docs --- lib/polymorphic_embed/html/form.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/polymorphic_embed/html/form.ex b/lib/polymorphic_embed/html/form.ex index c6ac550..ef7807a 100644 --- a/lib/polymorphic_embed/html/form.ex +++ b/lib/polymorphic_embed/html/form.ex @@ -67,7 +67,7 @@ if Code.ensure_loaded?(Phoenix.HTML) && Code.ensure_loaded?(Phoenix.HTML.Form) d <%= inputs_for f, :reminders, fn reminder_form -> %> <%= polymorphic_embed_inputs_for reminder_form, :channel, fn channel_form -> %> - <%= case get_polymorphic_type(channel_form, Reminder, :channel) do %> + <%= case get_polymorphic_type(reminder_form, Reminder, :channel) do %> <% :sms -> %> <%= label poly_form, :number %> <%= text_input poly_form, :number %>