|
|
|
@ -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>
|
|
|
|
|