YchKhan commited on
Commit
04de151
1 Parent(s): f1f3939

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -3
templates/index.html CHANGED
@@ -87,10 +87,10 @@
87
  </tr>
88
  </thead>
89
  <tbody>
90
- {% for i in range(1,6) %}
91
  <tr>
92
- <th scope="row">{{ rankings[i]['word'] }}</th>
93
- <td>{{ rankings[i]['freq'] }}</td>
94
  </tr>
95
  {% endfor %}
96
  </tbody>
 
87
  </tr>
88
  </thead>
89
  <tbody>
90
+ {% for ranking in rankings %}
91
  <tr>
92
+ <th scope="row">{{ ranking['word'] }}</th>
93
+ <td>{{ ranking['freq'] }}</td>
94
  </tr>
95
  {% endfor %}
96
  </tbody>