Implement missing & remaining pieces propagation + cleaner forms
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
.row.mt-5
|
||||
.col
|
||||
h3 Completions
|
||||
.row
|
||||
.col
|
||||
.alert.alert-info
|
||||
= t("contestants.edit.completions_note")
|
||||
table.table.table-striped.table-hover
|
||||
thead
|
||||
tr
|
||||
@@ -44,6 +48,8 @@
|
||||
- else
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.display_time")
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.missing_pieces")
|
||||
th scope="col"
|
||||
= t("activerecord.attributes.completion.remaining_pieces")
|
||||
th scope="col"
|
||||
@@ -56,6 +62,8 @@
|
||||
- if @contest.puzzles.size > 1
|
||||
td
|
||||
= completion.display_relative_time
|
||||
td
|
||||
= completion.missing_pieces
|
||||
td
|
||||
= completion.remaining_pieces
|
||||
td
|
||||
|
||||
Reference in New Issue
Block a user