diff --git a/app/views/custom_workflows/_form.html.erb b/app/views/custom_workflows/_form.html.erb index d4c8ab3..6c8b84a 100644 --- a/app/views/custom_workflows/_form.html.erb +++ b/app/views/custom_workflows/_form.html.erb @@ -92,7 +92,7 @@ <% end %> <%= render :layout => 'layouts/collapsible', :locals => { - :collapsed => (not (@workflow.before_destroy.present? or @workflow.before_destroy.present?)), + :collapsed => (not (@workflow.before_destroy.present? or @workflow.after_destroy.present?)), :label => l(:label_destroy_workflows)} do %>