10 lines
335 B
Text
10 lines
335 B
Text
<h4><%= @section.title %></h4>
|
|
|
|
<p><%= @section.description %></p>
|
|
|
|
<% @questions.each do |question| %>
|
|
<section>
|
|
<%= render partial: "questions/#{question.question_kind}_show", locals: { question: } %>
|
|
<%= render partial: "questions/#{question.answer_kind}_form", locals: { question: } %>
|
|
</section>
|
|
<% end %>
|