2014-06-12 09:20:39 +08:00
|
|
|
<%= error_messages_for @news %>
|
2015-03-23 17:36:50 +08:00
|
|
|
<p class="talk_top pl15" >
|
2014-08-21 14:46:14 +08:00
|
|
|
<%= is_new ? l(:bale_news_notice):l(:bale_edit_notice)%>
|
2015-03-23 17:36:50 +08:00
|
|
|
</p>
|
2014-06-12 09:20:39 +08:00
|
|
|
<div class="box tabular">
|
2014-12-30 14:14:20 +08:00
|
|
|
<p>
|
|
|
|
<%= f.text_field :title, :required => true, :size => 60, :style => "width:468px;", :onkeyup => "regexTitle();", :maxlength => 60 %>
|
|
|
|
</p>
|
|
|
|
<P>
|
|
|
|
<span id="title_notice_span">(60个字符以内)</span>
|
|
|
|
</P>
|
|
|
|
<p>
|
|
|
|
<%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:470px;", :onkeyup => "regexDescription();" %>
|
|
|
|
</p>
|
2014-12-30 14:52:44 +08:00
|
|
|
<P>
|
|
|
|
<span id="description_notice_span"></span>
|
|
|
|
</P>
|
|
|
|
<p id="attachments_form" style="margin-left:-10px;">
|
|
|
|
<label style="padding-right: 15px;">
|
|
|
|
<%= l(:label_attachment_plural) %>
|
|
|
|
</label>
|
|
|
|
<%= render :partial => 'attachments/form', :locals => {:container => @news} %>
|
|
|
|
</p>
|
2014-06-12 09:20:39 +08:00
|
|
|
</div>
|
|
|
|
|
2014-07-10 08:56:52 +08:00
|
|
|
<%= wikitoolbar_for 'news_description'%>
|