<% # Copyright (C) 2018 Colin Darie , 2018 Evolix %> <% # License: GNU AGPL-3+ (see full text in LICENSE file) %>

<%= t(".title") %>

<%= render "form", notification: @notification %>

<%= t(".checks", count: @notification.checks_count) %>

<% if @notification.checks_count.positive? %> <%= render "checks/table", checks: @notification.checks, skip_sort: true, skip_pagination: true %> <% end %>
<%= button_to(t("helpers.submit.notification.delete"), notification_path(@notification), class: "btn btn-danger", method: :delete, data: { confirm: t(".destroy_confirmation", count: @notification.checks_count) }) %>