rubymonolith / superform

Build highly customizable forms in Rails
MIT License
281 stars 15 forks source link

noob question #17

Closed Z2Flow closed 7 months ago

Z2Flow commented 8 months ago

I can render a form from an ERB template, but cannot from a Phlex ApplicationView. Using the example, when I render the form, the error message is: "undefined methodpersisted?' for nil"at app/views/forms/application_form.rb:12:in around_template'

Is this my lack of knowledge or an issue?

bradgessler commented 7 months ago

I can't tell from the context you provided. If you're still trying to figure this out could you start a discussion at https://github.com/rubymonolith/superform/discussions?

Z2Flow commented 7 months ago

Brad,

Thanks for getting back to me. Can you resend the discussion link please, as it produces a 404.

Cheers, Rob

On 13 Feb 2024, at 17:49, Brad Gessler @.***> wrote:

I can't tell from the context you provided. If you're still trying to figure this out could you start a discussion at https://github.com/rubymonolith/superform/discussions?

— Reply to this email directly, view it on GitHub https://github.com/rubymonolith/superform/issues/17#issuecomment-1942766684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ5VGA4E5O3WAU5WCEFHONTYTPUYXAVCNFSM6AAAAABC25JDZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBSG43DMNRYGQ. You are receiving this because you authored the thread.