Tracking PR for registration rewrite #5
1 changed files with 2 additions and 4 deletions
|
@ -81,13 +81,11 @@
|
||||||
<canvas id="schoolCanvas" width="400" height="400"></canvas>
|
<canvas id="schoolCanvas" width="400" height="400"></canvas>
|
||||||
<script>
|
<script>
|
||||||
let schoolNames = []
|
let schoolNames = []
|
||||||
let schoolNums = []
|
let schoolNums = []
|
||||||
console.log("{{schools}}")
|
|
||||||
|
|
||||||
{% for school in schools %}
|
{% for school in schools %}
|
||||||
schoolNames.push('{{ school }}')
|
schoolNames.push('{{ school }}')
|
||||||
schoolNums.push({{ schools[school] }})
|
schoolNums.push({{ schools[school] }})
|
||||||
console.log("{{school}}")
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
let schoolCtx = document.getElementById('schoolCanvas')
|
let schoolCtx = document.getElementById('schoolCanvas')
|
||||||
|
|
Loading…
Add table
Reference in a new issue