作业文字 文件列表 标签提交后删除

This commit is contained in:
yanxd 2014-03-13 15:33:12 +08:00
parent 592d704a6d
commit 78c2f40b8a
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
<!--modified by huang-->
<% if bids.blank? %>
<%= l(:label_uncommit_homework) %>
<%#= l(:label_uncommit_homework) %>
暂无作业!
<% else %>
<% bids.each do |bid|%>

View File

@ -137,7 +137,7 @@ div.pagination{
attachments_autocomplete_path(:format => 'js'),
:remote => true,
:method => :post) do %>
<%= label_tag(:attach_search, "按文件名搜索:") %>
<%= label_tag(:attach_search, "按关键字搜索:") %>
<%= text_field_tag(:attach_search) %>
<%#= submit_tag("Search") %>
<% end -%>

View File

@ -30,7 +30,7 @@
<%= f.text_field :firstname, :required => true %>
</p>
<p style="width:400px;padding-left: 26px;">
<%= f.text_field :lastname, :required => true %>
<%#= f.text_field :lastname, :required => true %>
</p></span>
<span id = 'enterprise' style = 'display:none'>

View File

@ -14,8 +14,7 @@ $('#name-issue').val("");
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/tag_name',
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
$('#put-tag-form #name').val("");
$('#put-tag-form').hide();
$('#name').val("");
<% end %>