<% unless @tasks.empty? %> <% @tasks.each do |task| %> <% end %>
Name Project Description Children  
<%= link_to h(task.name), project_task_path(@project, task) %> <%= link_to h(task.project.name), project_path(task.project) %> <%=h truncate(task.description, :length => 158) %> <%= link_to h(task.tasks.size), project_task_path(@project, task) %> <%= link_to 'Edit', edit_project_task_path(@project, task) %> <%= link_to 'Destroy', project_task_path(@project, task), :confirm => 'Are you sure?', :method => :delete %>
<% else %>

No Dependet Tasks

<% end %>