
<div class = container>
<%= form_for [@review,@comment]  do |f|%>


  <div class="field">
    <%= f.label :body %>
    <%= f.text_field :body %>
  </div>

  <div class="field">
    <%= f.check_box :anonymous,{}, checked_value = true, unchecked_value = false %>
    <%= f.label :anonymous  %>
  </div>

  <div class="actions">
    <%= f.submit "Submit Comment" %>
  </div>


<% end %>

</div>

Create new partital for the comment
Create new partital for the comment
