27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
<%= form_tag share_message_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>
|
|
<div class="cl"></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 mt10" onclick="hideModal();">取消</a></div>
|
|
</div>
|
|
<div class="cl"></div> |