调整页面代码

This commit is contained in:
sw 2014-12-30 14:52:44 +08:00
parent 66d67e2cc9
commit d08bce46dd
1 changed files with 9 additions and 2 deletions

View File

@ -12,8 +12,15 @@
<p> <p>
<%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:470px;", :onkeyup => "regexDescription();" %> <%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:470px;", :onkeyup => "regexDescription();" %>
</p> </p>
<P><span id="description_notice_span"></span></P> <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> <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>
</div> </div>
<%= wikitoolbar_for 'news_description'%> <%= wikitoolbar_for 'news_description'%>