<%= t("scaffold.pagetitle_index", model: Link.model_name.human(count: 2)) %>

<% @links.each do |link| %> <% end %>
<%= LinkCategory.model_name.human %> <%= Link.human_attribute_name(:url) %> <%= Link.human_attribute_name(:text) %> <%= Link.human_attribute_name(:description) %> <%= Link.human_attribute_name(:last_check_at) %>
<%= link_to(tag.i(class: link.ok? ? "bi bi-check" : "bi bi-x-lg"), url_for(link)) %> <%= link_to(link.link_category.name, url_for(link)) %> <%= link_to(truncate(link.url), link.url, target: "_blank", rel: "nofollow") %> <%= link_to(link.text, url_for(link)) %> <%= link_to(truncate(link.description_html.to_plain_text), url_for(link)) %> <%= link.last_check_at && l(link.last_check_at, format: :short) %>
<%= link_to t("scaffold.link_new", model: Link.model_name.human), new_link_path %>