项目留言某情况下无确认删除的提示信息修改
This commit is contained in:
parent
a0d90e1697
commit
2478cac7d1
|
@ -22,7 +22,7 @@
|
|||
<% if User.current.logged? %>
|
||||
<% if journal.user_id==User.current.id|| User.current.admin? %>
|
||||
<%= link_to(l(:button_delete),{:controller => 'words', :action => 'destroyJournal', :object_id => journal.id, :project_id=>@project.id, :page=>@page},
|
||||
:remote => true, :title => l(:button_delete)) %>
|
||||
:remote => true, :title => l(:button_delete), :confirm => l(:text_are_you_sure), :method => 'delete', :class => "delete") %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue