'Display an survey in printable view; if <token> is set, it will
grab the answers of the user_input_id that has <token>.'

@http.route(['/survey/print/<model("survey.survey"):survey>', '/survey/print/<model("survey.survey"):survey>/<string:token>'], type='http', auth='public', website=True)
def print_survey(self, survey, token=None, **post):

    return request.render('survey.survey_print', {'survey': survey, 'token': token, 'page_nr': 0, 'quizz_correction': (True if (survey.quizz_mode and token) else False)})
