Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Form Partial Walk-Through0:28 with Jason Seifer
Form partials are something that we’ve worked with so far in our application. In this video, we'll learn a little bit more about how form partials work.
Form partials are something that we've worked with so far in our application.
In the case of to-do lists, we'll have the to-do list directory and
a partial inside there called underscoreform.html.erb.
Inside of the form partial,
we get access to the form object that was just initialized in the view.
In the case of to-do lists,
we can access the to-do list itself by calling form.object.
You need to sign up for Treehouse in order to download course files.Sign up