Updating rows in a database
In this last part of the exercise, we will finish building the social network by adding a form to modify the information.
All the finished code can be found at the following link:
Let’s start:
- Create a new HTML component, in
/app/website/templates/components/_edit-message.html
, with the following content:<form class="update-form" data-id="{{ message.id }}"> <input type="text" placeholder="Name" id="message-form__author--update" class="message...