Some improvements
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
| Edit contest
|
||||
|
||||
.row.mb-4
|
||||
.col-8
|
||||
.col-6
|
||||
.row
|
||||
.col
|
||||
h4
|
||||
@@ -33,7 +33,7 @@
|
||||
.col
|
||||
a.btn.btn-primary href=new_contest_puzzle_path(@contest)
|
||||
| Add puzzle
|
||||
.col-4
|
||||
.col-6
|
||||
.row
|
||||
.col
|
||||
h4
|
||||
@@ -49,10 +49,15 @@
|
||||
- @contestants.each do |contestant|
|
||||
tr scope="row"
|
||||
td
|
||||
= link_to contestant.name, edit_contest_contestant_path(@contest, contestant)
|
||||
= contestant.name
|
||||
td
|
||||
= contestant.completions.length
|
||||
.row
|
||||
td
|
||||
a.btn.btn-sm.btn-secondary href=edit_contest_contestant_path(@contest, contestant)
|
||||
| Open
|
||||
a.btn.btn-sm.btn-secondary.ms-2 href=new_contest_completion_path(@contest, contestant_id: contestant.id)
|
||||
| Add completion
|
||||
.row.mt-4
|
||||
.col
|
||||
a.btn.btn-primary href=new_contest_contestant_path(@contest)
|
||||
| Add contestant
|
||||
|
||||
Reference in New Issue
Block a user