Added hide QR functionality by wrapping the QR code with a link_to