h1 = @room.name

h2 = t('.users')
- @room.users.each do |user|
  = user.name

.clear

h2 = t('.questions_and_answers')

- @room.room_questions.each do |room_question|
  article
    h3 = room_question.question.text
    p
      strong Answers:
      = room_question.question.answers.pluck(:value).join(', ')

    - room_question.suggested_answers.each do |suggested_answer|
      p
        strong #{suggested_answer.user.name}:
        = suggested_answer.value

    - if room_question.winner_id?
      p
        strong Winner:
        = room_question.winner.name

= form_for [ @room.last_room_question, SuggestedAnswer.new ] do |f|
  = f.text_area :value
  = f.submit

h1 = @room.name

h2 = t('.users')
- @room.users.each do |user|
  = link_to user.name, user, class: 'js-user-link'

.clear

h2 = t('.questions_and_answers')

- @room.room_questions.each do |room_question|
  article
    h3 = room_question.question.text
    p
      strong Answers:
      = room_question.question.answers.pluck(:value).join(', ')

    - room_question.suggested_answers.each do |suggested_answer|
      p
        strong #{suggested_answer.user.name}:
        = suggested_answer.value

    - if room_question.winner_id?
      p
        strong Winner:
        = room_question.winner.name

= form_for [ @room.last_room_question, SuggestedAnswer.new ] do |f|
  = f.text_area :value
  = f.submit

Make usernames in user list links
Make usernames in user list links

elegion/r13-team-84,elegion/r13-team-84