">
<%= form.check_box "ids[]",
{class: "focus:ring-gray-500 h-4 w-4 text-gray-600 border-gray-300 rounded",
data: { "checkboxes-target": "checkboxesItem" }},
email.id, nil %>
|
<%= link_to email.date.strftime("%Y-%m-%d %H:%M"), email, "data-turbo-frame": "_top", class: "block p-2" %> |
<%= link_to email.from.join(', '), email, "data-turbo-frame": "_top", class: "block p-2" %> |
<%= link_to email.subject, email, "data-turbo-frame": "_top", class: "block p-2" %> |
<% email.organisations.each do |organisation| %>
<%= organisation %>
<% end if email.organisations %>
<% email.servers.each do |server| %>
<%= server %>
<% end if email.servers %>
<% if email.cron? %>
cron
<% end %>
<% if email.mailing_list? %>
list
<% end %>
<% if email.junk? %>
junk
<% end %>
|