2014-04-03 22:38:18 +08:00
|
|
|
<!-- huang -->
|
|
|
|
<h3><%=l(:label_newtype_contest)%></h3>
|
|
|
|
|
2014-09-12 16:45:03 +08:00
|
|
|
<%= labelled_form_for @contest,
|
|
|
|
:url => {:controller => 'contests', :action => 'create_contest'},
|
|
|
|
method: :post do |f| %>
|
2014-04-03 22:38:18 +08:00
|
|
|
<div class="box tabular">
|
2014-09-12 16:45:03 +08:00
|
|
|
<%= render :partial => 'form_contest', :locals => { :f => f } %>
|
|
|
|
<%= submit_tag l(:button_create) %>
|
|
|
|
<%= javascript_tag "$('#bid_name').focus();" %>
|
|
|
|
<% end %>
|
2014-10-16 15:07:36 +08:00
|
|
|
</div>
|
|
|
|
<% html_title(l(:label_newtype_contest)) -%>
|