From 840a57fb0e2054a891bd7c3f108d0b19c4018c24 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 23 Mar 2017 20:19:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?TPM=E6=96=B0=E5=BB=BA=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E5=8A=A0=E5=85=A5KE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/challenges/_form.html.erb | 45 ++++++++++++++++++++++------- app/views/challenges/show.html.erb | 4 +-- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/app/views/challenges/_form.html.erb b/app/views/challenges/_form.html.erb index 47e29d730..c1621a023 100644 --- a/app/views/challenges/_form.html.erb +++ b/app/views/challenges/_form.html.erb @@ -22,7 +22,7 @@

- +
@@ -33,10 +33,12 @@
  • - <%= f.text_area :ready_knowledge, :class => "panel-form-width-690 panel-form-height-150 fl task-textarea-pd", :no_label => true, :placeholder => "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务" %> + <%= f.kindeditor :ready_knowledge, :placeholder => "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务", :width=>'87.5%', :height =>159, :resizeType => 0, :no_label => true %> + <%#= f.text_area :ready_knowledge, :class => "panel-form-width-690 panel-form-height-150 fl task-textarea-pd", :no_label => true, :placeholder => "请输入完成当前任务依赖的知识点或者其它相关信息,指导学员完成任务" %>
  • + <%#= f.kindeditor :task_pass, :editor_id => "challenge_task_pass", :width=>'87.5%', :height => 159, :resizeType => 0, :no_label => true %> <%= f.text_area :task_pass, :class => "panel-form-width-690 panel-form-height-150 fl task-textarea-pd", :no_label => true %>
  • @@ -47,7 +49,7 @@ @@ -150,6 +152,27 @@