This commit is contained in:
wanglinchun 2014-06-11 11:13:10 +08:00
parent 877d8f8439
commit 734d246618
1 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,12 @@
<%= labelled_form_for @contestnotification, :url => contest_contestnotification_path(@contest), :html => { :id => 'contestnotifications-form', :multipart => true } do |f| %> <h3><%=l(:label_news)%></h3>
<%= render :partial => 'contestnotifications/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create), :class => "whiteButton m3p10 h30" %>
<%= submit_tag l(:button_cancel), :class => "whiteButton m3p10 h30",:onclick => "cancel();" %>
<%= labelled_form_for @contestnotifications, :html => { :id => 'contestnotifications-form', :multipart => true, :method => :put } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= preview_link preview_contestnotifications_path(:project_id => @contest, :id => @contestnotifications), 'contestnotifications-form' %>
<% end %>
<div id="preview" class="wiki"></div>
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
<% end %> <% end %>