删除课程留言前增加提示
This commit is contained in:
parent
33855f721d
commit
50e172a25a
|
@ -79,7 +79,7 @@ function checkMaxLength() {
|
|||
return false;"} %>
|
||||
<% end %>
|
||||
<% if journal.delete_by_user?(User.current) %>
|
||||
<%= link_to(l(:button_delete), {:controller => 'words', :action => 'destroy', :object_id => journal, :user_id => journal.user}, :method => :delete,:remote => true)%>
|
||||
<%= link_to(l(:button_delete), {:controller => 'words', :action => 'destroy', :object_id => journal, :user_id => journal.user}, :method => :delete,:confirm => l(:text_are_you_sure),:remote => true)%>
|
||||
<% end %>
|
||||
</span>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue