2014-06-12 09:20:39 +08:00
|
|
|
<%= error_messages_for @news %>
|
|
|
|
<div class="add_frame_header" >
|
2014-08-21 14:46:14 +08:00
|
|
|
<%= is_new ? l(:bale_news_notice):l(:bale_edit_notice)%>
|
2014-06-12 09:20:39 +08:00
|
|
|
</div>
|
|
|
|
<div class="box tabular">
|
|
|
|
<p><%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;" %></p>
|
2014-08-20 15:51:35 +08:00
|
|
|
<!-- <p style="margin-left:-10px;"><%#= f.text_area :summary, :cols => 60, :rows => 2, :style => "width:490px;margin-left:10px;" %></p> -->
|
2014-06-12 09:20:39 +08:00
|
|
|
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;" %></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>
|
|
|
|
</div>
|
|
|
|
|
2014-07-10 08:56:52 +08:00
|
|
|
<%= wikitoolbar_for 'news_description'%>
|