h1 Do you want to accept the answer?

h2 Your question:
p = @question.title

h2 Answer:
p = @answer.contents

= form_for [@question, @answer] do |f|
  .field
    = f.check_box :accepted_answer
    = f.label :accepted_answer
  .actions
    = f.submit "Save"
h1 Do you want to accept the answer?

h2 Your question:
p = @question.title

h2 Answer:
p = @answer.contents

= form_for [@question, @answer] do |f|
  .field
    = f.check_box :accepted_answer
    = f.label :accepted_answer
  .actions
    = f.submit "Save"
= link_to "Back", @question
Add back link in edit answer
Add back link in edit answer

Klepsz/challenge_app,Klepsz/challenge_app