moved question partials

This commit is contained in:
Mark Moser 2016-07-28 16:49:26 -05:00
parent 4f99d4eb12
commit f9930ce531
5 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<%= form_tag(post_question_path) do %> <%= form_tag(post_question_path) do %>
<main class="questions_tpl"> <main class="questions_tpl">
<h2 class="question-text"><%= @question.question %></h2> <h2 class="question-text"><%= @question.question %></h2>
<%= render partial: "questions/#{@question.input_type}" %> <%= render partial: @question.input_type %>
<% if @status.on_summary %> <% if @status.on_summary %>