作业文字 文件列表 标签提交后删除
This commit is contained in:
parent
592d704a6d
commit
78c2f40b8a
|
@ -1,6 +1,7 @@
|
||||||
<!--modified by huang-->
|
<!--modified by huang-->
|
||||||
<% if bids.blank? %>
|
<% if bids.blank? %>
|
||||||
<%= l(:label_uncommit_homework) %>
|
<%#= l(:label_uncommit_homework) %>
|
||||||
|
暂无作业!
|
||||||
<% else %>
|
<% else %>
|
||||||
<% bids.each do |bid|%>
|
<% bids.each do |bid|%>
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ div.pagination{
|
||||||
attachments_autocomplete_path(:format => 'js'),
|
attachments_autocomplete_path(:format => 'js'),
|
||||||
:remote => true,
|
:remote => true,
|
||||||
:method => :post) do %>
|
:method => :post) do %>
|
||||||
<%= label_tag(:attach_search, "按文件名搜索:") %>
|
<%= label_tag(:attach_search, "按关键字搜索:") %>
|
||||||
<%= text_field_tag(:attach_search) %>
|
<%= text_field_tag(:attach_search) %>
|
||||||
<%#= submit_tag("Search") %>
|
<%#= submit_tag("Search") %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<%= f.text_field :firstname, :required => true %>
|
<%= f.text_field :firstname, :required => true %>
|
||||||
</p>
|
</p>
|
||||||
<p style="width:400px;padding-left: 26px;">
|
<p style="width:400px;padding-left: 26px;">
|
||||||
<%= f.text_field :lastname, :required => true %>
|
<%#= f.text_field :lastname, :required => true %>
|
||||||
</p></span>
|
</p></span>
|
||||||
|
|
||||||
<span id = 'enterprise' style = 'display:none'>
|
<span id = 'enterprise' style = 'display:none'>
|
||||||
|
|
|
@ -14,8 +14,7 @@ $('#name-issue').val("");
|
||||||
|
|
||||||
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/tag_name',
|
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/tag_name',
|
||||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||||
|
$('#put-tag-form #name').val("");
|
||||||
$('#put-tag-form').hide();
|
$('#put-tag-form').hide();
|
||||||
$('#name').val("");
|
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue