Added abilities to view and edit benchmark info

This commit is contained in:
2025-05-30 01:45:49 -04:00
parent cf9235cb18
commit ed085e4b40
5 changed files with 94 additions and 7 deletions

18
views/benchmark/view.erb Normal file
View File

@ -0,0 +1,18 @@
<div class="grid-x grid-margin-x">
<div class="cell small-12">
<h1><%= benchmark.name %></h1>
</div>
<div class="cell small-12">
<p><a href="/benchmark/<%= benchmark.id %>/edit">Edit</a></p>
</div>
<div class="cell small-12">
Benchmark scoring type: <%= benchmark.scoring %>
</div>
<div class="cell small-12">
Description:
<p><%= benchmark.description %></p>
</div>
</div>