Messages to completions conversion
This commit is contained in:
@@ -51,17 +51,21 @@
|
||||
tr
|
||||
th scope="col"
|
||||
| Time
|
||||
th scope="col"
|
||||
| Author
|
||||
th scope="col"
|
||||
| Text
|
||||
tbody
|
||||
- @messages.each do |message|
|
||||
tr.align-middle scope="row"
|
||||
td
|
||||
= message.time_seconds
|
||||
= message.display_time
|
||||
td
|
||||
= message.author
|
||||
td
|
||||
= message.text
|
||||
td
|
||||
a.btn.btn-sm.btn-secondary href="" style="white-space: nowrap;"
|
||||
a.btn.btn-sm.btn-secondary href=contest_message_convert_path(@contest, message) style="white-space: nowrap;"
|
||||
| Add completion
|
||||
td
|
||||
= link_to "Delete", contest_message_path(@contest, message), data: { turbo_method: :delete }, class: "btn btn-sm btn-danger"
|
||||
|
Reference in New Issue
Block a user