Change job template.

This commit is contained in:
Patrick Jentsch
2019-08-09 11:49:09 +02:00
parent a82b7292ed
commit 359baf0297
3 changed files with 26 additions and 45 deletions

View File

@ -71,5 +71,4 @@ def job(job_id):
elif not job.user_id == current_user.id:
print('Job does not belong to current user.')
abort(403)
print(job)
return render_template('main/corpus.html.j2', title=job.title)
return render_template('main/jobs/job.html.j2', title='Job', job=job)