Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
spotbot2k committed Nov 17, 2021
1 parent 0f24dd4 commit 954d297
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/03_Usage_Example.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ class LMFController extends FrontendController
<p>You have passed <b>"{{ exam.getTitle() }}"</b>, well done!</p>
<p>with <b>"{{ result.get('grade') }}"</b></p>
<p><b>{{ result.get('ratio') }}%</b> of your answers were correct!</p>
<p>{{ url("lmf-exam-cert", { "id": result.get("examId"), "hash": result.get("uuid") }) }}</p>
{% if exam.getPublicCertificate() %}
<p>{{ url("lmf-exam-cert", { "id": result.get("examId"), "hash": result.get("uuid") }) }}</p>
{% endif %}
</center>
</div>
{% else %}
Expand Down

0 comments on commit 954d297

Please sign in to comment.