35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
<div class="contextual">
|
|
<div class='icon icon-add' style="margin-right: 30px;">
|
|
<%= toggle_link l(:button_bidding), 'put-bid-form', {:focus => 'project_id'} %>
|
|
</div>
|
|
</div>
|
|
<div id="put-bid-form" style="display: none">
|
|
<%= form_for "bid_for_save", :remote=>true, :url => {:controller => 'bids', :action => 'add'},
|
|
:update => "bidding_project_list",
|
|
:complete => '$("#put-bid-form").hide();' do |f| %>
|
|
<table id="bidding_table" border="0" width="400" style="margin-left: 40px;">
|
|
<tr>
|
|
<td><%= select_tag 'bid', options_for_select(@option), :name => 'bid', :class => 'grayline' %></td>
|
|
</tr>
|
|
</table>
|
|
<table id="bidding_table" border="0" width="400" style="border-left: 1px solid #acaeb1; border-right: 1px solid #acaeb1;
|
|
border-top: 1px solid #acaeb1; border-bottom: 1px solid #acaeb1; margin-left: 45px;">
|
|
<tr>
|
|
<td><%= f.text_area :bid_message, :id => "bid_message", :required => true, :rows => 4, :cols => 40, :value => "请输入应标理由", :style => "resize: none;", :class => 'noline'%></td>
|
|
</tr>
|
|
</table>
|
|
<table id="bidding_table" border="0" width="400" style="margin-left: 45px;">
|
|
<tr>
|
|
<td><%= f.submit l(:button_add)%><%= link_to_function l(:button_cancel), '$("#put-bid-form").hide();'%></td>
|
|
</tr>
|
|
</table>
|
|
<% end %>
|
|
</div>
|
|
|
|
<table width="200px" border="0" style="padding-left: 15px">
|
|
<td class="font_lighter" style="font-size: 18px;">应标项目(<%= @bidding_project.count%>)</td>
|
|
</table>
|
|
<div id='bidding_project_list'>
|
|
<%= render :partial => 'project_list', :locals => {:bidding_project => @bidding_project} %>
|
|
</div>
|