def post(self): evaluation = worker_evaluation(self.worker) evaluation.bonus_split = int(self.request.get('bonus_split')) evaluation.approval = self.request.get('approve') == 'true' evaluation.put() self.redirect('/second_stage/labeling?token=' + self.token)
def get(self): self.render( 'priv/evaluation_form.html', { 'labeling': worker_evaluation(self.worker).labeling, 'form_action': self.request.url })
def get(self): self.render('priv/evaluation_form.html', { 'labeling': worker_evaluation(self.worker).labeling , 'form_action': self.request.url })