bigdir/app/views/bids/new_contest.html.erb

10 lines
350 B
Plaintext

<!-- huang -->
<h3><%=l(:label_newtype_contest)%></h3>
<%= labelled_form_for @bid, :url => {:controller => 'bids', :action => 'create_contest'} do |f| %>
<div class="box tabular">
<%= render :partial => 'form_contest', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= javascript_tag "$('#bid_name').focus();" %>
<% end %>
</div>