All basic question types
This commit is contained in:
parent
3e1e5618ca
commit
4fe218166f
51 changed files with 760 additions and 92 deletions
10
app/views/sections/show.html.erb
Normal file
10
app/views/sections/show.html.erb
Normal file
|
@ -0,0 +1,10 @@
|
|||
<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 %>
|
Loading…
Add table
Add a link
Reference in a new issue