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>
|
||||
@@ -108,6 +108,14 @@
|
||||
<%= render 'beispiele/form_bulk' %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<% @crawlobjects.each do |co| %>
|
||||
<%= render co %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user