2014-10-23 11:30:34 +08:00
|
|
|
<!-- huang -->
|
|
|
|
<h3><%=l(:label_newtype_contest)%></h3>
|
|
|
|
|
|
|
|
<%= labelled_form_for @contest,
|
|
|
|
:url => {:controller => 'contests', :action => 'create_contest'},
|
|
|
|
method: :post do |f| %>
|
|
|
|
<div class="box tabular">
|
|
|
|
<%= render :partial => 'form_contest', :locals => { :f => f } %>
|
2015-01-27 15:43:06 +08:00
|
|
|
<%= submit_tag l(:button_create), :style=> "margin-left: 100px;margin-top: 10px;" %>
|
2014-10-23 11:30:34 +08:00
|
|
|
<%= javascript_tag "$('#bid_name').focus();" %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2014-10-16 15:07:36 +08:00
|
|
|
<% html_title(l(:label_newtype_contest)) -%>
|