<%= link_to crawlobject.url do %>
<%= crawlobject.name %> (<%= crawlobject.published_at %>)<% end %>
<%= (crawlobject.text.html_safe) unless crawlobject.text.nil?%>
<% if crawlobject.has_attachments? %>
<%= render_attachments_for(crawlobject) %>
<%= link_to "load attachments", load_attachments_crawler_path(crawlobject), remote: true %>
<% end %>
<% if crawlobject.children.count >0 %>
<% crawlobject.children.each do |cc| %>
<%= render cc %>
<% end %>
<% end %>