|
|
|
@ -85,7 +85,7 @@ function checkMaxLength() {
|
|
|
|
|
<% 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>
|
|
|
|
|