update the line that renders the partial and update the use of the variable. 

When you inspect the html view of the page it shows the id of the message in the hidden field value