diff --git a/app/helpers/owner_type_helper.rb b/app/helpers/owner_type_helper.rb
index 3da722118..ead87f55a 100644
--- a/app/helpers/owner_type_helper.rb
+++ b/app/helpers/owner_type_helper.rb
@@ -10,4 +10,5 @@ module OwnerTypeHelper
BLOGCOMMENT = 9
SYLLABUS = 10
ArticleHomepage = 11
+ PROJECT = 12
end
\ No newline at end of file
diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb
index ab0d1bc45..f05803c25 100644
--- a/app/views/projects/new.html.erb
+++ b/app/views/projects/new.html.erb
@@ -1,5 +1,6 @@
-<% @nav_dispaly_project_label = 1
- @nav_dispaly_forum_label = 1 %>
+<%= content_for(:header_tags) do %>
+ <%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
+<% end %>
<%= error_messages_for 'project' %>
<%= l(:label_project_new)%>
@@ -10,8 +11,8 @@
-
-
+
+
项目名称不能为空
@@ -21,9 +22,20 @@
<%#= l(:label_type_des_development) %>
-->
-
-
-
+
+
+ <%= f.kindeditor :description, :editor_id => 'project_create_id',
+ :owner_id => @project.nil? ? 0: @project.id,
+ :owner_type => OwnerTypeHelper::PROJECT,
+ :width => '86%',
+ :height => 300,
+ :minHeight=> 300,
+ :class => 'courses_text ml5 fl',
+ :input_html => { :id => 'description',
+ :class => 'courses_text fl',
+ :maxlength => 5000 }
+ %>
+
diff --git a/public/stylesheets/css/public.css b/public/stylesheets/css/public.css
index f0e5be8c9..8187bf8ae 100644
--- a/public/stylesheets/css/public.css
+++ b/public/stylesheets/css/public.css
@@ -1522,3 +1522,5 @@ a.syllabusbox_a_blue{
/*模拟title*/
.simulation-title {position:absolute; background-color:#fff; padding:5px 10px; z-index:99; white-space:nowrap; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); display:none; color:#666; border:1px solid #666; line-height:1;}
+/*项目创建*/
+.project_new_input {border: 1px solid #ddd;height: 20px;width: 794px;background: #fff;margin-bottom: 10px;padding: 5px;}
\ No newline at end of file