Skip to content

Commit

Permalink
Merge pull request #88 from atomkirk/patch-1
Browse files Browse the repository at this point in the history
fixing docs
  • Loading branch information
mathieuprog authored Apr 25, 2024
2 parents fe99d51 + 4cd2ae4 commit d306ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/polymorphic_embed/html/form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if Code.ensure_loaded?(Phoenix.HTML) && Code.ensure_loaded?(Phoenix.HTML.Form) &
<%= 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 %>
Expand Down

0 comments on commit d306ac5

Please sign in to comment.