diff --git a/app/corpora/views.py b/app/corpora/views.py index e6c82d77..20c18e5f 100644 --- a/app/corpora/views.py +++ b/app/corpora/views.py @@ -74,7 +74,8 @@ def corpus_analysis(corpus_id): return redirect(url_for('corpora.corpus_analysis', corpus_id=corpus_id, query=query, hits_per_page=hits_per_page, context=context)) - return render_template('corpora/corpus_analysis.html.j2', corpus=corpus, + return render_template('corpora/corpus_analysis.html.j2', + corpus_id=corpus_id, form=form, dl_form=dl_form, title='Corpus: {}'.format(corpus.title)) diff --git a/app/templates/corpora/corpus_analysis.html.j2 b/app/templates/corpora/corpus_analysis.html.j2 index 6a88bc71..bd2eb46e 100644 --- a/app/templates/corpora/corpus_analysis.html.j2 +++ b/app/templates/corpora/corpus_analysis.html.j2 @@ -1,7 +1,9 @@ {% extends "full_width.html.j2" %} {% block page_content %} +