parent
3da4c07d35
commit
261ebb916c
|
@ -37,14 +37,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
<script type='text/javascript'>
|
|
||||||
// function CompatibleSend()
|
|
||||||
// {
|
|
||||||
// var obj=document.getElementById("_file");
|
|
||||||
// var file= $(obj).clone();
|
|
||||||
// file.click();
|
|
||||||
// }
|
|
||||||
</script>
|
|
||||||
<% project = project %>
|
<% project = project %>
|
||||||
<span class="add_attachment" style="font-weight:normal;">
|
<span class="add_attachment" style="font-weight:normal;">
|
||||||
<%#= button_tag "浏览", :type=>"button", :onclick=>"CompatibleSend();" %>
|
<%#= button_tag "浏览", :type=>"button", :onclick=>"CompatibleSend();" %>
|
||||||
|
|
|
@ -1,16 +1,5 @@
|
||||||
<%= render_flash_messages %>
|
<%= render_flash_messages %>
|
||||||
<div id="put-bid-form" style="display: none">
|
<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">
|
<script type="text/javascript">
|
||||||
function j_submit () {
|
function j_submit () {
|
||||||
alert('start');
|
alert('start');
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="ping_distop">
|
<div class="ping_distop">
|
||||||
<span>
|
<span>
|
||||||
<% if show_name %>
|
<% if show_name %>
|
||||||
<%= link_to user, user_path(user),:style => " font-weight:bold; color:#15bccf; margin-right:5px; background:none;", :target => "_blank"%>
|
<%= link_to user, user_path(user),:style => " font-weight:bold; color:#15bccf; margin-right:5px; background:none;max-width: 40px;overflow: hidden;", :target => "_blank", title: user%>
|
||||||
<% else%>
|
<% else%>
|
||||||
<span style=" font-weight:bold; color:#15bccf; margin-right:5px; background:none;">
|
<span style=" font-weight:bold; color:#15bccf; margin-right:5px; background:none;">
|
||||||
<%= l(:label_anonymous) %>
|
<%= l(:label_anonymous) %>
|
||||||
|
|
Loading…
Reference in New Issue