<% checks.each do |check| %>
Domain: <%= check.domain %>
Kind: <%= check.kind %>
Created date: <%= l(check.domain_created_at.to_date) if check.domain_created_at.present? %>
Update date: <%= l(check.domain_updated_at.to_date) if check.domain_updated_at.present? %>
Expire date: <%= l(check.domain_expires_at.to_date) if check.domain_expires_at.present? %>
<% if check.comment? %>
Comment: <%= check.comment %>
<% end %> <% if check.vendor? %>
Vendor: <%= check.vendor %>
<% end %>
Active: <%= check.active %>
<%= link_to "Edit", edit_check_path(check) %>
<% end %>