Adding Interactivity with Turbo Frames
Let's add interactivity in our application using Turbo frames.
We'll cover the following...
Adding Functionality in the App Using Turbo Frames
We’re now going to add new functionality to our app’s schedule page. We’ll allow a user to edit concert data inline on the schedule page. When users hit the “Edit” button, the display is replaced by a form, and when they hit the “Submit” button on the form, the updated data appears.
We’re not going to worry about authentication here. If you are using the existing code, the sign-in links work and you can sign in with the email
areader@example.com
and the passwordawesome
.
Note: You might have to refresh the page or click the “North By” link after logging in with an email if you’re executing the app using ...