2013-08-01 10:33:49 +08:00
|
|
|
<%= error_messages_for @news %>
|
2014-01-08 20:18:32 +08:00
|
|
|
<div class="add_frame_header" >
|
2014-06-27 15:58:41 +08:00
|
|
|
<% str = @project ? l(:bale_news_notice) : l(:label_news_new) %>
|
2014-01-08 20:18:32 +08:00
|
|
|
<%= str %>
|
|
|
|
</div>
|
2013-08-01 10:33:49 +08:00
|
|
|
<div class="box tabular">
|
2013-08-03 22:18:30 +08:00
|
|
|
<p><%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;" %></p>
|
2013-09-23 08:44:48 +08:00
|
|
|
<!-- <p style="margin-left:-10px;"><%= f.text_area :summary, :cols => 60, :rows => 2, :style => "width:490px;margin-left:10px;" %></p> -->
|
2014-01-08 20:18:32 +08:00
|
|
|
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;" %></p>
|
2013-08-03 22:18:30 +08:00
|
|
|
<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>
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= wikitoolbar_for 'news_description' %>
|