Add pdf option for problem
This commit is contained in:
parent
98b8cbe518
commit
69f08e84b5
7 changed files with 65 additions and 3 deletions
|
@ -377,6 +377,10 @@
|
|||
{{ description|markdown("problem", MATH_ENGINE)|reference|str|safe }}
|
||||
{% endcache %}
|
||||
|
||||
{% if problem.pdf_description %}
|
||||
<embed src="{{url('problem_pdf_description', problem.code)}}" width="100%" height="500" type="application/pdf">
|
||||
{% endif %}
|
||||
|
||||
{% with license=problem.license %}
|
||||
{% if license %}
|
||||
<span class="license">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue