Markup fix

This commit is contained in:
Derek Montgomery 2016-08-02 16:20:59 -05:00
parent 02007b8871
commit fe4bcef4ae

View File

@ -6,8 +6,7 @@
%>
<%= form_for(@answer, url: post_answer_path(@answer.id), html:{method: :post, id: 'answer-form', data: {qid: @question.question_id}}) do |form| %>
<main class="questions_tpl">
<article class="answer-sec <%= @question.input_type %>-type" data-qid="<%= @question.question_id %>">
<main class="answer-sec <%= @question.input_type %>-type questions_tpl" data-qid="<%= @question.question_id %>">
<h2 class="question-text"><%= @question.question %></h2>
<div class="content-well">
@ -32,7 +31,6 @@
</div>
<% end %>
</article>
</main>
<% end %>