修复查看单个竞赛页面的删除、编辑竞赛标签的显示bug;
This commit is contained in:
parent
cc08cdc140
commit
a328a934c8
|
@ -9,8 +9,8 @@
|
||||||
<td>
|
<td>
|
||||||
<table width="100%" border="0">
|
<table width="100%" border="0">
|
||||||
<tr style="font-size: 18px">
|
<tr style="font-size: 18px">
|
||||||
<td colspan="2" valign="top"><strong><%= @softapplication.name %></strong></td>
|
<td valign="top"><strong><%= @softapplication.name %></strong></td>
|
||||||
<td style="font-size: 15px; padding-left: 0px">
|
<td style="font-size: 15px; padding-right: 0px" align="right">
|
||||||
<%= link_to '删除', softapplication_path(@softapplication), method: :delete, data: {confirm: '您确定要删除吗?'} if @softapplication.destroyable_by? User.current %>
|
<%= link_to '删除', softapplication_path(@softapplication), method: :delete, data: {confirm: '您确定要删除吗?'} if @softapplication.destroyable_by? User.current %>
|
||||||
<%= link_to '编辑', edit_softapplication_path(@softapplication), method: :get if @softapplication.destroyable_by? User.current %>
|
<%= link_to '编辑', edit_softapplication_path(@softapplication), method: :get if @softapplication.destroyable_by? User.current %>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue