Skip to main content

How do I render a partial on a button click ? (Rails 5)

Rails • Asked by Harribo42
I want to render a partial of a long form, and pass a variable to it using :locals => { :f => f }

Hope you can help me. Thanks


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.