添加新闻时,“提交”按钮和“取消”按钮之间有一竖
This commit is contained in:
parent
740033c447
commit
af7e605f76
|
@ -3,12 +3,25 @@
|
||||||
<%= @project ? l(:label_news_new) : l(:bale_news_notice) %>
|
<%= @project ? l(:label_news_new) : l(:bale_news_notice) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="box tabular">
|
<div class="box tabular">
|
||||||
<p><%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;", :onkeyup => "regexTitle();" %></p>
|
<p>
|
||||||
<P><span id="title_notice_span">(60个字符以内)</span></P>
|
<%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;", :onkeyup => "regexTitle();" %>
|
||||||
|
</p>
|
||||||
|
<P>
|
||||||
|
<span id="title_notice_span">(60个字符以内)</span>
|
||||||
|
</P>
|
||||||
<!-- <p style="margin-left:-10px;"><%#= f.text_area :summary, :cols => 60, :rows => 2, :style => "width:490px;margin-left:10px;" %></p> -->
|
<!-- <p style="margin-left:-10px;"><%#= f.text_area :summary, :cols => 60, :rows => 2, :style => "width:490px;margin-left:10px;" %></p> -->
|
||||||
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;", :onkeyup => "regexDescription();" %></p>
|
<p>
|
||||||
<P><span id="description_notice_span"></span></P>
|
<%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;", :onkeyup => "regexDescription();" %>
|
||||||
<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>
|
</p>
|
||||||
|
<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' %>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<%= render :partial => 'news/form', :locals => {:f => f} %>
|
<%= render :partial => 'news/form', :locals => {:f => f} %>
|
||||||
<%#= submit_tag l(:button_create), :class => 'whiteButton m3p10 h30', :name => nil %><!-- button-submit -->
|
<%#= submit_tag l(:button_create), :class => 'whiteButton m3p10 h30', :name => nil %><!-- button-submit -->
|
||||||
<%= link_to l(:button_create), "#", :onclick => 'submitNews();',:onmouseover => 'submitFocus(this);', :class => 'ButtonColor m3p10' %>
|
<%= link_to l(:button_create), "#", :onclick => 'submitNews();',:onmouseover => 'submitFocus(this);', :class => 'ButtonColor m3p10' %>
|
||||||
|
|
|
||||||
<%#= preview_link preview_news_path(:project_id => @project), 'news-form', target='preview', {:class => 'whiteButton m3p10'} %>
|
<%#= preview_link preview_news_path(:project_id => @project), 'news-form', target='preview', {:class => 'whiteButton m3p10'} %>
|
||||||
|
|
||||||
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-news").hide()', :class => 'ButtonColor m3p10' %>
|
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-news").hide()', :class => 'ButtonColor m3p10' %>
|
||||||
|
|
Loading…
Reference in New Issue