课程列表中删除课程确认弹框中“关闭”改为“取消”

This commit is contained in:
cxt 2016-12-17 10:07:51 +08:00
parent d876962f05
commit e29eb67f68
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
<div style='width:164px; margin:0 auto; text-align:center; font-family: "微软雅黑","宋体"'> <div style='width:164px; margin:0 auto; text-align:center; font-family: "微软雅黑","宋体"'>
<% if @syllabus.courses.not_deleted.empty? %> <% if @syllabus.courses.not_deleted.empty? %>
<%=link_to '确认', syllabus_path(@syllabus), :class => 'Blue-btn fl', :method => 'delete'%> <%=link_to '确认', syllabus_path(@syllabus), :class => 'Blue-btn fl', :method => 'delete'%>
<a href='javascript:void(0);' class='Blue-btn fl' onclick='hideModal()'>关闭</a> <a href='javascript:void(0);' class='Blue-btn fl' onclick='hideModal()'>取消</a>
<% else %> <% else %>
<a href='javascript:void(0);' class='Blue-btn' style="margin-left: 50px;" onclick='hideModal()'>关闭</a> <a href='javascript:void(0);' class='Blue-btn' style="margin-left: 50px;" onclick='hideModal()'>取消</a>
<% end %> <% end %>
</div> </div>