|
|
|
@ -1,16 +1,5 @@
|
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<div id="put-bid-form" style="display: none">
|
|
|
|
|
<%= form_for HomeworkAttach.new, :url => {:controller => 'bids', :action => 'add_homework'}, :update => "bidding_project_list", :complete => '$("#put-bid-form").hide();', :html => {:multipart => true, :id => 'add_homework_form'} do |f| %>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>
|
|
|
|
|
<%= l(:label_attachment_plural) %>
|
|
|
|
|
</legend>
|
|
|
|
|
<p id="put-bid-form-partial">
|
|
|
|
|
<%= render :partial => 'attachments/form' %>
|
|
|
|
|
</p>
|
|
|
|
|
</fieldset>
|
|
|
|
|
<%= submit_tag l(:button_create), :onclick => "return true" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function j_submit () {
|
|
|
|
|
alert('start');
|
|
|
|
|