24 lines
986 B
Plaintext
24 lines
986 B
Plaintext
|
<div id="popbox_upload" style="margin-top: -30px;margin-left: -20px;margin-right: -10px;">
|
||
|
<div class="upload_con">
|
||
|
<div id="error_show"></div>
|
||
|
<h2>将此课件引入我的课程资源库</h2>
|
||
|
<div class="upload_box">
|
||
|
<%= form_tag course_attach_relations_path,
|
||
|
method: :post,
|
||
|
remote: true,
|
||
|
id: "relation_file_form" do %>
|
||
|
<%= hidden_field_tag(:file_id, file.id) %>
|
||
|
<%= content_tag('div', courses_check_box_tags('courses[course][]', User.current.courses,course), :id => 'courses')%>
|
||
|
<a id="submit_quote" href="javascript:void(0)" class="upload_btn" onclick="submit_quote();">引 用</a><a href="javascript:void(0)" class="upload_btn upload_btn_grey" onclick="closeModal();">取 消</a>
|
||
|
<% end -%>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
function submit_quote()
|
||
|
{
|
||
|
$('#submit_quote').parent().submit();
|
||
|
}
|
||
|
</script>
|