<%= 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'%>