changes to the show and edit.html files for pins