diff --git a/app/views/news/_course_form.html.erb b/app/views/news/_course_form.html.erb index 0bea4b773..3b68bbf76 100644 --- a/app/views/news/_course_form.html.erb +++ b/app/views/news/_course_form.html.erb @@ -1,26 +1,17 @@ -<%= error_messages_for @news %> -

- <%= is_new ? l(:bale_news_notice):l(:bale_edit_notice)%> -

-
-

- <%= f.text_field :title, :required => true, :size => 60, :style => "width:468px;", :onkeyup => "regexTitle();", :maxlength => 60 %> -

-

- (60个字符以内) -

-

- <%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:470px;", :onkeyup => "regexDescription();" %> -

-

- -

+
  • + + +
  • +
  • + + +
  • +

    <%= render :partial => 'attachments/form', :locals => {:container => @news} %>

    -
    -<%= wikitoolbar_for 'news_description'%> + \ No newline at end of file diff --git a/app/views/news/_course_news.html.erb b/app/views/news/_course_news.html.erb index 1757153e2..45af13328 100644 --- a/app/views/news/_course_news.html.erb +++ b/app/views/news/_course_news.html.erb @@ -72,6 +72,11 @@ :onclick => 'showAndScrollTo("add-news", "news_title"); return false;') %>
    <% end %>