コード例 #1
0
ファイル: prep_template.py プロジェクト: yimsea/qiita
    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)
コード例 #2
0
    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)
コード例 #3
0
    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)