From f9930ce531f461eb858f218c5dcc617d35167c8a Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Thu, 28 Jul 2016 16:49:26 -0500 Subject: [PATCH] moved question partials --- app/views/{questions => candidate}/_checkbox.html.erb | 0 app/views/{questions => candidate}/_live-coder.html.erb | 0 app/views/{questions => candidate}/_radio.html.erb | 0 app/views/{questions => candidate}/_text.html.erb | 0 app/views/candidate/question.html.erb | 2 +- 5 files changed, 1 insertion(+), 1 deletion(-) rename app/views/{questions => candidate}/_checkbox.html.erb (100%) rename app/views/{questions => candidate}/_live-coder.html.erb (100%) rename app/views/{questions => candidate}/_radio.html.erb (100%) rename app/views/{questions => candidate}/_text.html.erb (100%) diff --git a/app/views/questions/_checkbox.html.erb b/app/views/candidate/_checkbox.html.erb similarity index 100% rename from app/views/questions/_checkbox.html.erb rename to app/views/candidate/_checkbox.html.erb diff --git a/app/views/questions/_live-coder.html.erb b/app/views/candidate/_live-coder.html.erb similarity index 100% rename from app/views/questions/_live-coder.html.erb rename to app/views/candidate/_live-coder.html.erb diff --git a/app/views/questions/_radio.html.erb b/app/views/candidate/_radio.html.erb similarity index 100% rename from app/views/questions/_radio.html.erb rename to app/views/candidate/_radio.html.erb diff --git a/app/views/questions/_text.html.erb b/app/views/candidate/_text.html.erb similarity index 100% rename from app/views/questions/_text.html.erb rename to app/views/candidate/_text.html.erb diff --git a/app/views/candidate/question.html.erb b/app/views/candidate/question.html.erb index 9ff5295..636b924 100644 --- a/app/views/candidate/question.html.erb +++ b/app/views/candidate/question.html.erb @@ -8,7 +8,7 @@ <%= form_tag(post_question_path) do %>

<%= @question.question %>

- <%= render partial: "questions/#{@question.input_type}" %> + <%= render partial: @question.input_type %> <% if @status.on_summary %>