favorites-button and linking to view and template