2016-03-28 19:20:09 +08:00
|
|
|
<%= form_tag share_news_to_course_user_path(user), :remote => true, :id => 'course_list_form' %>
|
|
|
|
<div>
|
|
|
|
<%= hidden_field_tag(:send_id, send_id) %>
|
|
|
|
<%= hidden_field_tag(:send_ids, send_ids) %>
|
|
|
|
<div class="courseReferContainer">
|
|
|
|
<% if !courses.empty? %>
|
|
|
|
<% courses.each do |course| %>
|
|
|
|
<ul class="courseSend">
|
|
|
|
<li class="" style="display:inline-block">
|
|
|
|
<input name="course_ids[]" type="checkbox" value="<%= course.id %>" class="courseSendCheckbox"/>
|
|
|
|
</li>
|
|
|
|
<li class="sendCourseName"><%= truncate(course.name, :lendght => 25) + '['+course.time.to_s+course.term + ']' %></li>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-29 15:25:22 +08:00
|
|
|
<div class="cl"></div>
|
2016-03-28 19:20:09 +08:00
|
|
|
<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 mt10" onclick="hideModal();">取消</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|