18 lines
689 B
Plaintext
18 lines
689 B
Plaintext
|
<div id="put-bid-form" style="display: none">
|
||
|
<%= form_for "bid_for_save", :remote=>true, :url => {:controller => 'bids', :action => 'add_homework'},
|
||
|
:update => "bidding_project_list",
|
||
|
:complete => '$("#put-bid-form").hide();' do |f| %>
|
||
|
<fieldset><legend><%= l(:label_attachment_plural) %></legend>
|
||
|
<p><%= render :partial => 'attachments/form', :locals => {:container => @homework} %></p>
|
||
|
</fieldset>
|
||
|
<%= submit_tag l(:button_create) %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<div class='icon icon-add'>
|
||
|
<%= toggle_link l(:button_bidding), 'put-bid-form' %>
|
||
|
</div>
|
||
|
|
||
|
<div id='bidding_project_list'>
|
||
|
<%= render :partial => 'homework_list', :locals => {:homework => @homework_list} %>
|
||
|
</div>
|