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

<table class="table table-striped">
  <thead>
    <tr>
      <th><%= LinkCategory.human_attribute_name(:id) %></th>
      
        <th><%= LinkCategory.human_attribute_name(:name) %></th>
      
        <th><%= LinkCategory.human_attribute_name(:description) %></th>
      
      
  </thead>
  <tbody>
    <% @link_categories.each do |link_category| %>
      <tr>
        <td><%= link_to(link_category.id, url_for(link_category)) %></td>
        
          <td><%= link_to(link_category.name, url_for(link_category)) %></td>
        
          <td><%= link_to(truncate(link_category.description.to_plain_text), url_for(link_category)) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<div class="action-row">
  <%= link_to t("scaffold.link_new", model: LinkCategory.model_name.human), new_link_category_path %>
</div>
