()
| 614 | |
| 615 | export class ProblemEditHandler extends ProblemManageHandler { |
| 616 | async get() { |
| 617 | this.response.body.additional_file = sortFiles(this.pdoc.additional_file || []); |
| 618 | this.response.body.statementLangs = this.ctx.i18n.langs(false); |
| 619 | this.response.template = 'problem_edit.html'; |
| 620 | } |
| 621 | |
| 622 | @route('pid', Types.ProblemId) |
| 623 | @post('title', Types.Title) |