Fixed the test edit page
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine
2025-07-31 14:06:08 -04:00
parent 57163b10e4
commit ec2bf45a6e
3 changed files with 23 additions and 3 deletions

View File

@ -28,7 +28,7 @@
<label for="test_benchmarks">Benchmarks</label>
<select id="test_benchmarks" class="form-select" name="test_benchmarks[]" multiple>
<% for b in benchmarks %>
<option value="<%= b.id %>"><%= b.name %></option>
<option value="<%= b.id %>" <% if test.has_benchmark(b.id) %>selected<% end %>><%= b.name %></option>
<% end %>
</select>
</div>
@ -41,7 +41,7 @@
<div class="row">
<div class="col-12">
<input class="btn btn-primary w-100" type="submit" value="Create Test">
<input class="btn btn-primary w-100" type="submit" value="Submit Changes">
</div>
</div>
</form>