40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
|
|
||
|
|
||
|
<div class="resourceSharePopup"> <span class="sendText">将资源移动至 </span>
|
||
|
<div class="resourcePopupClose"> <a href="javascript:void(0);" class="resourceClose" onclick="closeModal();"></a></div>
|
||
|
<div>
|
||
|
<%= form_tag search_user_course_user_path(user),:method => 'get',
|
||
|
:remote=>true,:id=>'search_user_course_form',:class=>'resourcesSearchBox' do %>
|
||
|
<%= hidden_field_tag(:send_id, @send_id) %>
|
||
|
<input type="text" name="search" placeholder="输入课程ID或者名称搜索" class="searchResourcePopup" />
|
||
|
<!--<a href="javascript:void(0);" class="searchIconPopup"></a>-->
|
||
|
<%= submit_tag '',:class=>'searchIconPopup',:onfocus=>"this.blur();",:style=>'border-style:none' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<%= form_tag add_exist_file_to_course_user_path(user),:remote=>true,:id=>'course_list_form' %>
|
||
|
<div>
|
||
|
|
||
|
<%= hidden_field_tag(:send_id, @send_id) %>
|
||
|
<% if !courses.empty? %>
|
||
|
<% courses.each do |course| %>
|
||
|
<ul class="courseSend">
|
||
|
<li class="fl">
|
||
|
<input name="course_ids[]" type="checkbox" value="<%= course.id %>" class="courseSendCheckbox"/>
|
||
|
</li>
|
||
|
<li class="sendCourseName fl"><%= course.name%></li>
|
||
|
</ul>
|
||
|
<% end %>
|
||
|
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="courseSendSubmit">
|
||
|
<!--<a href="javascript:void(0);" class="sendSourceText">确定</a>-->
|
||
|
<%= submit_tag '确定',:class=>'sendSourceText',:onfocus=>'this.blur();' %>
|
||
|
</div>
|
||
|
<div class="courseSendCancel"><a href="javascript:void(0);" class="sendSourceText" onclick="closeModal();">取消</a></div>
|
||
|
</div>
|
||
|
<div class="cl"></div>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
|