forked from bofh/fetsite
addcrawlobjects
This commit is contained in:
11
app/views/crawlobjects/_crawlobject.html.erb
Normal file
11
app/views/crawlobjects/_crawlobject.html.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<li><%= link_to crawlobject.url do %> <b> <%= crawlobject.name %> (<%= crawlobject.published_at %>)</b> <%= crawlobject.text %>
|
||||
<% end %>
|
||||
|
||||
<% if crawlobject.children.count >0 %>
|
||||
<ul>
|
||||
<% crawlobject.children.each do |cc| %>
|
||||
<%= render cc %>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
</li>
|
||||
Reference in New Issue
Block a user