diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index b04ec5fb0..5a392350d 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -100,15 +100,17 @@ module IssuesHelper css << " idnt idnt-#{level}" if level > 0 buttons = if manage_relations - link_to(l(:label_delete_link_to_subtask), - issue_path( - {:id => child.id, :issue => {:parent_issue_id => ''}, - :back_url => issue_path(issue.id), :no_flash => '1'}), - :method => :put, - :data => {:confirm => l(:text_are_you_sure)}, - :title => l(:label_delete_link_to_subtask), - :class => 'icon-only icon-link-break' - ) + link_to( + l(:label_delete_link_to_subtask), + issue_path( + {:id => child.id, :issue => {:parent_issue_id => ''}, + :back_url => issue_path(issue.id), :no_flash => '1'} + ), + :method => :put, + :data => {:confirm => l(:text_are_you_sure)}, + :title => l(:label_delete_link_to_subtask), + :class => 'icon-only icon-link-break' + ) else "".html_safe end