parent
408a626ddd
commit
163fe97e6f
@ -0,0 +1,42 @@
|
||||
<script type="text/javascript" language="javascript">
|
||||
function clearInfo(id) {
|
||||
$('#'+id).val('');
|
||||
}
|
||||
</script>
|
||||
<%= form_tag({:controller => 'bids',
|
||||
:action => 'index',
|
||||
:remote => true,
|
||||
:method => :post,
|
||||
:id => 'new-bid-form'}) do %>
|
||||
<%= error_messages_for 'bid' %>
|
||||
<table border="0" width="600px" style="border-left: 1px solid #acaeb1; border-right: 1px solid #acaeb1;
|
||||
border-top: 1px solid #acaeb1; border-bottom: 1px solid #acaeb1; margin-top: 60px; margin-left: 30px;">
|
||||
<tr>
|
||||
<td><%= text_field_tag 'bid_title', "为你的需求起个名字~~", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_title')"%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableline"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= text_area_tag 'bid_description', "说出你的需求>找到威客来帮你>支付担保金让威客开始工作 >验收付款并评价", :class => 'noline', :required => true, :style => "resize: none;", :rows => 8,
|
||||
:onfocus => "clearInfo('bid_description')" %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableline"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= text_field_tag 'bid_budget', "支付担保金额", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_budget')"%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div class="tableline"></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= text_field_tag 'bid_deadline', "投资时限 yyyy-mm-dd", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_deadline')"%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table id="bidding_table" border="0" width="600" style="margin-top: 20px; margin-left: 30px;">
|
||||
<tr>
|
||||
<td align="right"><%= submit_tag l(:button_new_bid) %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<%end%>
|
@ -1,14 +0,0 @@
|
||||
<div class="box tabular">
|
||||
<%= form_tag({:controller => 'bids',
|
||||
:action => 'index',
|
||||
:remote => true,
|
||||
:method => :post,
|
||||
:id => 'new-bid-form'}) do %>
|
||||
<p>需求名称:<%= text_field_tag 'bid_title' %></p>
|
||||
<p>需求描述:</p>
|
||||
<p><%= text_area_tag 'bid_description' %></p>
|
||||
<p>投资预算:<%= text_field_tag 'bid_budget' %></p>
|
||||
<p>投资时限:<%= text_field_tag 'bid_deadline' %></p>
|
||||
<%= submit_tag l(:button_submit) %>
|
||||
<%end%>
|
||||
</div>
|
Loading…
Reference in new issue