竞赛通知删除功能ok
This commit is contained in:
parent
467f8f54e1
commit
53ded67d9d
|
@ -6,7 +6,7 @@
|
|||
:class => 'icon icon-edit',
|
||||
:accesskey => accesskey(:edit),
|
||||
:onclick => '$("#edit-contestnotifications").show(); return false;') if User.current%>
|
||||
<%= delete_link contest_contestnotification_path(@contestnotification) if User.current%>
|
||||
<%= delete_link contest_contestnotification_path(@contest, @contestnotification) if User.current%>
|
||||
</div>
|
||||
|
||||
<h3><strong><%=h @contestnotification.title %></strong></h3>
|
||||
|
|
Loading…
Reference in New Issue