21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-06-16 22:44:28 +02:00
chexpire/app/views/checks/_table.html.erb

19 lines
495 B
Plaintext
Raw Normal View History

<% checks.each do |check| %>
<div class="mb-4">
<div>Domain: <%= check.domain %></div>
<div>Kind: <%= check.kind %></div>
<div>Date de création: <%= check.domain_created_at.to_date %></div>
<% if check.comment? %>
<div>Comment: <%= check.comment %></div>
<% end %>
<% if check.vendor? %>
<div>Vendor: <%= check.vendor %></div>
<% end %>
<div>Active: <%= check.active %></div>
<%= link_to "Edit", edit_check_path(check) %>
</div>
<% end %>