From fe7b582cc3edcda0be279554aa0ea4b825db7ffd Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 10 Aug 2017 14:32:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=AE=9E=E8=AE=AD=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=83=8C=E6=99=AF=E7=9F=A5=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/_form.html.erb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/shixuns/_form.html.erb b/app/views/shixuns/_form.html.erb index ce082abb5..288751d03 100644 --- a/app/views/shixuns/_form.html.erb +++ b/app/views/shixuns/_form.html.erb @@ -28,15 +28,15 @@

- +
  • <%= select_tag :major_id, options_for_select(shixun_major_option, 0), :id => 'shixun_major', :class => "fl task-form-30 task-height-40"%> @@ -187,8 +187,8 @@ imageUploadURL : "<%= upload_with_markdown_path(:container_id => @shixun.id, :container_type => @shixun.class) %>" //url }); - /* --------------------------------- 预备知识 -------------------------------------- */ - /* var shixun_propaedeutics = editormd("shixun_propaedeutics", { + /* --------------------------------- 背景知识 -------------------------------------- */ + var shixun_propaedeutics = editormd("shixun_propaedeutics", { width : "89.7%", height : 300, syncScrolling : "single", @@ -213,7 +213,7 @@ imageUpload : true, imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp", "JPG", "JPEG", "GIF", "PNG", "BMP", "WEBP"], imageUploadURL : "<%#= upload_with_markdown_path(:container_id => @shixun.id, :container_type => @shixun.class) %>" //url - });*/ + }); ////////////////////////////////////////////////////////////// //提交新建项目 function submit_new_project()