mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
18 lines
457 B
Plaintext
18 lines
457 B
Plaintext
<table>
|
|
<tr>
|
|
<th>Thread</th>
|
|
<th>Trigger words</th>
|
|
<th>Full text</th>
|
|
</tr>
|
|
<tr>
|
|
|
|
<% @posts.each do |post| %>
|
|
<tr>
|
|
<% triggers = Documents::Analysis::ContentService.adult_content?(@list, post.content) %>
|
|
<% next unless triggers.any? %>
|
|
<td><%= post.postable.title %> (<%= post.postable.slug %>)</td>
|
|
<td><%= triggers.inspect %></td>
|
|
<td><%= post.content %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table> |