parent
25b5d74a42
commit
0ff8f0a774
@ -0,0 +1,17 @@
|
|||||||
|
<br>
|
||||||
|
<div style='width:470px;text-align:center;font-family: "微软雅黑","宋体"' class="f14">
|
||||||
|
<% if @syllabus.courses.empty? %>
|
||||||
|
确认删除该课程吗?
|
||||||
|
<% else %>
|
||||||
|
该课程下已经存在班级,不能删除。
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</br>
|
||||||
|
<div style='width:164px; margin:0 auto; text-align:center; font-family: "微软雅黑","宋体"'>
|
||||||
|
<% if @syllabus.courses.empty? %>
|
||||||
|
<%=link_to '确认', syllabus_path(@syllabus), :class => 'Blue-btn fl', :method => 'delete'%>
|
||||||
|
<a href='javascript:void(0);' class='Blue-btn fl' onclick='hideModal()'>关闭</a>
|
||||||
|
<% else %>
|
||||||
|
<a href='javascript:void(0);' class='Blue-btn' style="margin-left: 50px;" onclick='hideModal()'>关闭</a>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
@ -0,0 +1,2 @@
|
|||||||
|
var htmlvalue = "<%=escape_javascript(render :partial => 'delete_syllabus') %>";
|
||||||
|
pop_up_box(htmlvalue,500,30,50);
|
Loading…
Reference in new issue