23 lines
694 B
Plaintext
23 lines
694 B
Plaintext
<div id="<%= dom_id check %>">
|
|
<p class="my-5">
|
|
<strong class="block font-medium mb-1">Name:</strong>
|
|
<%= check.name %>
|
|
</p>
|
|
|
|
<p class="my-5">
|
|
<strong class="block font-medium mb-1">Description:</strong>
|
|
<%= check.description %>
|
|
</p>
|
|
|
|
<p class="my-5">
|
|
<strong class="block font-medium mb-1">Hostname:</strong>
|
|
<%= check.hostname %>
|
|
</p>
|
|
|
|
<% if action_name != "show" %>
|
|
<%= link_to "Show this check", check, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<%= link_to 'Edit this check', edit_check_path(check), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
|
|
<hr class="mt-6">
|
|
<% end %>
|
|
</div>
|