Links, mainly...
Some checks failed
/ Run system tests (push) Waiting to run
/ Build, push and deploy image (push) Blocked by required conditions
/ Run tests (push) Has been cancelled
/ Checkout (push) Successful in 8m9s

This commit is contained in:
david 2024-07-26 00:59:00 +02:00
parent fd42a3f173
commit 21ab02d647
69 changed files with 2258 additions and 155 deletions

View file

@ -0,0 +1,29 @@
<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(link_category.description, 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>