def get(self): """Send formatted summary page of prep template""" prep_id = to_int(self.get_argument('prep_id')) res = prep_template_ajax_get_req(self.current_user.id, prep_id) res['prep_id'] = prep_id self.render('study_ajax/prep_summary.html', **res)
def get(self): """Send formatted summary page of prep template""" prep_id = to_int(self.get_argument('prep_id')) res = prep_template_ajax_get_req(self.current_user.id, prep_id) res['prep_id'] = prep_id # Escape the message just in case javascript breaking characters in it res['alert_message'] = url_escape(res['alert_message']) self.render('study_ajax/prep_summary.html', **res)
def get(self): """Send formatted summary page of prep template""" prep_id = to_int(self.get_argument('prep_id')) res = prep_template_ajax_get_req(self.current_user.id, prep_id) res['prep_id'] = prep_id # Escape the message just in case javascript breaking characters in it res['alert_message'] = url_escape(res['alert_message']) self.render('study_ajax/prep_summary.html', **res)