def _process(self): form = AbstractReviewedForTracksForm(event=self.event, obj=self.abstract) if form.validate_on_submit(): update_reviewed_for_tracks(self.abstract, form.reviewed_for_tracks.data) return jsonify_data(flash=False, html=render_abstract_page( self.abstract, management=self.management)) return jsonify_template( 'events/abstracts/forms/edit_review_tracks.html', form=form)
def _process(self): form = AbstractReviewedForTracksForm(event=self.event, obj=self.abstract) if form.validate_on_submit(): update_reviewed_for_tracks(self.abstract, form.reviewed_for_tracks.data) return jsonify_data(flash=False, html=render_abstract_page(self.abstract, management=self.management)) return jsonify_template('events/abstracts/forms/edit_review_tracks.html', form=form)