%= content_for(:header_tags) do %>
<%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
<% end %>
<%= error_messages_for 'project' %>
<%= form_for(@project) do |f| %>
新建开发项目
<%= l(:label_projects_new_name) %>
<%= l(:label_tags_project_description) %>
<%= f.kindeditor :description, :editor_id => 'project_create_editor',
:owner_id => @project.nil? ? 0: @project.id,
:owner_type => OwnerTypeHelper::PROJECT,
:width => '100%',
:height => 300,
:minHeight=> 300,
:class => 'courses_text ml5 fl',
:input_html => { :id => 'description',
:class => 'courses_text fl',
:maxlength => 5000 }
%>
提交
<%= link_to "取消", user_path(User.current), :class => "defalutCancelbtn fl" %>
<% end %>