删除课程留言前增加提示

competition
chenmin 11 years ago
parent 33855f721d
commit 50e172a25a

@ -79,7 +79,7 @@ function checkMaxLength() {
return false;"} %> return false;"} %>
<% end %> <% end %>
<% if journal.delete_by_user?(User.current) %> <% 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 %> <% end %>
</span> </span>
</span> </span>

Loading…
Cancel
Save