% unless @tasks.empty? %>
Name | Project | Description | Children | |||
---|---|---|---|---|---|---|
<%=h task.name %> | <%= link_to h(task.project.name), project_path(task.project) %> | <%=h task.description %> | <%=h task.tasks.size %> | <%= link_to 'Show', 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 %> |
No Dependet Tasks
<% end %>