From a1f21f3ebba86fe91cef13831bcbd769b3d03c55 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 15 Jan 2015 16:10:24 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E9=A2=98=E7=9B=AE=202?= =?UTF-8?q?=E3=80=81=E6=96=B0=E5=A2=9E=E9=A2=98=E7=9B=AE=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=A2=98=E7=9B=AE=E8=8E=B7=E5=8F=96=E7=84=A6?= =?UTF-8?q?=E7=82=B9=203=E3=80=81=E6=96=B0=E5=A2=9E=E9=A2=98=E7=9B=AE?= =?UTF-8?q?=E5=90=8E=E9=A1=B5=E9=9D=A2=E4=BA=8B=E4=BB=B6=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/poll/_new_MC.html.erb | 82 +++++++++++----------- app/views/poll/_new_MCQ.html.erb | 2 +- app/views/poll/_new_mulit.html.erb | 2 +- app/views/poll/_new_single.html.erb | 2 +- app/views/poll/_poll_form.html.erb | 44 ++++++++---- app/views/poll/create_poll_question.js.erb | 1 + public/javascripts/polls.js | 65 +++++++++++++++++ 7 files changed, 141 insertions(+), 57 deletions(-) create mode 100644 public/javascripts/polls.js diff --git a/app/views/poll/_new_MC.html.erb b/app/views/poll/_new_MC.html.erb index 0f031f61c..061105a77 100644 --- a/app/views/poll/_new_MC.html.erb +++ b/app/views/poll/_new_MC.html.erb @@ -1,45 +1,45 @@ <%= form_for PollQuestion.new,:url =>create_poll_question_poll_path(@poll.id),:remote => true do |f|%> -