This commit is contained in:
wanglinchun 2014-06-11 11:06:37 +08:00
parent 5ef8626d71
commit 877d8f8439
1 changed files with 5 additions and 17 deletions

View File

@ -1,19 +1,7 @@
<!-- <h1>Editing contestnotification</h1>
<%= labelled_form_for @contestnotification, :url => contest_contestnotification_path(@contest), :html => { :id => 'contestnotifications-form', :multipart => true } do |f| %>
<%= 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();" %>
<%= render 'form' %>
<%= link_to 'Show', @contestnotification %> |
<%= link_to 'Back', contestnotifications_path %> -->
<h3><%=l(:label_news)%></h3>
<%= 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 %>