|
|
@ -49,7 +49,7 @@
|
|
|
|
<!--</span>-->
|
|
|
|
<!--</span>-->
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="column-2 fr edu-txt-center">
|
|
|
|
<span class="column-2 fr edu-txt-center">
|
|
|
|
<% if @major_manager && !@major_school.template_major %>
|
|
|
|
<% if @major_manager && !@major_school.template_major || User.current.admin? %>
|
|
|
|
<a href="javascript:void(0);" onclick="delete_confirm_box_3('<%= ec_major_school_ec_year_path(year, :ec_major_school_id => @major_school) %>','您确定要删除吗?')" class="mr15 color-grey-c">删除</a>
|
|
|
|
<a href="javascript:void(0);" onclick="delete_confirm_box_3('<%= ec_major_school_ec_year_path(year, :ec_major_school_id => @major_school) %>','您确定要删除吗?')" class="mr15 color-grey-c">删除</a>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<%#= link_to '删除', ec_major_school_ec_year_path(year, :ec_major_school_id => @major_school), method: :delete, :class => "mr15 color-grey-c", data: { confirm: '您确定要删除吗' } %>
|
|
|
|
<%#= link_to '删除', ec_major_school_ec_year_path(year, :ec_major_school_id => @major_school), method: :delete, :class => "mr15 color-grey-c", data: { confirm: '您确定要删除吗' } %>
|
|
|
|