socialforge/app/views/users/_show_user_homeworks.html.erb

27 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-08-28 10:00:48 +08:00
<div class="coursesChoosePopup" id="coursesChoosePopup">
2015-08-27 16:03:41 +08:00
<div>
<div class="sendText">导入作业</div>
</div>
<div >
2015-08-29 09:53:16 +08:00
<%= form_tag user_search_homeworks_user_path(User.current.id), :multipart => true, :remote => true, :class => "coursesSearchBox" do%>
<input type="text" name="name" placeholder="输入作业名称进行搜索" class="searchCoursesPopup" id="search_homework_name"/>
<a href="javascript:void(0);" class="searchIconPopup" onclick="$(this).parent().submit();"></a>
<% end%>
2015-08-27 16:03:41 +08:00
</div>
2015-08-28 11:32:57 +08:00
<%= form_tag(user_select_homework_users_path, :multipart => true,:remote => true,:name=>"select_homework_form",:id=>'select_homework_form') do %>
<input type="hidden" name="select_course" value="<%= @select_course%>">
2015-08-28 11:32:57 +08:00
<div class="homeworkListForm mb10 " id="homework_list_form_show">
<%= render :partial => 'users/show_user_homework_form', :locals => {:user_homeworks => @user_homeworks}%>
</div>
<div>
<div class="courseSendSubmit">
<a href="javascript:void(0);" class="sendSourceText" onclick="$('#select_homework_form').submit();">确定</a>
</div>
<div class="courseSendCancel">
<a href="javascript:void(0);" class="sendSourceText" onclick="hideModal('#coursesChoosePopup')">取消</a>
</div>
</div>
<% end%>
2015-08-27 16:03:41 +08:00
<div class="cl"></div>
</div>