<div class="survey">
<form action="/user/<%= @user.id %>/survey" method="POST">
<% @questions.each do |question| %>
  <%= question.description %>
  <% question.answers.each do |answer| %>
    <ul>
      <li><input type="radio" name="answer[<%= question.id %>]" value="<%= answer.id %>"><%= answer.description %></li>
    </ul>
  <% end %>
<% end %>
<input type="submit" value="Submit">
</form>
</div>

<div class="survey">
<form action="/user/<%= @user.id %>/survey" method="POST">
<% @questions.each do |question| %>
  <%= question.description %>
  <% question.answers.each do |answer| %>
    <ul>
      <li><input type="radio" name="answer[<%= question.id %>]" value="<%= answer.id %>"><p><%= answer.description %></p></li>
    </ul>
  <% end %>
<% end %>
<input type="submit" value="Submit">
</form>
</div>

Add p tag to div in an attempt to center name of matches. Did not work
Add p tag to div in an attempt to center name of matches. Did not work
