Fixed calls to the benchmarks array on the test view page

This commit is contained in:
Gregory Ballantine 2024-06-03 10:51:20 -04:00
parent 4fab94b271
commit c81d6f0e32

View File

@ -8,7 +8,7 @@
<h1>{{ test.title }}</h1> <h1>{{ test.title }}</h1>
<p>{{ test.description }}</p> <p>{{ test.description }}</p>
<ul> <ul>
{% for b in test.benchmarks() %} {% for b in test.benchmarks %}
<li>{{ b.name }}</li> <li>{{ b.name }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -23,7 +23,7 @@
<div class="row"> <div class="row">
<div class="four columns"> <div class="four columns">
<select class="u-full-width:" name="result_benchmark"> <select class="u-full-width:" name="result_benchmark">
{% for b in test.benchmarks() %} {% for b in test.benchmarks %}
<option value="{{ b.id }}">{{ b.name }}</option> <option value="{{ b.id }}">{{ b.name }}</option>
{% endfor %} {% endfor %}
</select> </select>