Crafted a form to edit an existing picture in the edit view template. We want the form, when the submit button is clicked, to send the data to /pictures/:id with the HTTP verb PUT to reflect our intention to update an existing resource. Since raw HTML doesn't support the PUT verb, we leverage the Rails view helper method form_tag. We also pre-populate the input fields by setting their value HTML attributes.
Since we've already started using the form_tag view helper to help us craft our HTML, let's go all the way and use helper methods to draw the input fields too.