发布作业增加块的显示
This commit is contained in:
parent
711b21070f
commit
43d9697195
|
@ -15,10 +15,14 @@
|
||||||
|
|
||||||
<% if User.current.user_extensions && User.current.user_extensions.identity == 0 && User.current.allowed_to?(:add_course, nil, :global => true)%>
|
<% if User.current.user_extensions && User.current.user_extensions.identity == 0 && User.current.allowed_to?(:add_course, nil, :global => true)%>
|
||||||
<!-- 老师身份才可以发布作业 -->
|
<!-- 老师身份才可以发布作业 -->
|
||||||
<div class="HomeWork mb10">
|
<div class="resources mb10">
|
||||||
<div class="RightBanner">
|
<div class="homepageRightBanner">
|
||||||
<div class="NewsBannerName">发布作业</div>
|
<div class="NewsBannerName">发布作业</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cl"></div>
|
||||||
|
|
||||||
|
<div class="HomeWork">
|
||||||
<% homework = HomeworkCommon.new %>
|
<% homework = HomeworkCommon.new %>
|
||||||
<%= labelled_form_for homework,:url => user_new_homework_users_path,:method => "post" do |f| %>
|
<%= labelled_form_for homework,:url => user_new_homework_users_path,:method => "post" do |f| %>
|
||||||
<div id="HomeWorkCon">
|
<div id="HomeWorkCon">
|
||||||
|
|
Loading…
Reference in New Issue