start of iteration 2
Some checks failed
/ Run tests (push) Failing after 1m19s
/ Run system tests (push) Failing after 1m18s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-31 23:13:18 +01:00
parent 9fb87a74ce
commit 729ed13521
75 changed files with 705 additions and 170 deletions

View file

@ -0,0 +1,37 @@
<h1><%= t("scaffold.pagetitle_index", model: Page.model_name.human(count: 2)) %></h1>
<table class="table table-striped">
<thead>
<tr>
<th><%= Page.human_attribute_name(:id) %></th>
<th><%= Page.human_attribute_name(:position) %></th>
<th><%= Page.human_attribute_name(:path) %></th>
<th><%= Page.human_attribute_name(:url) %></th>
<th><%= Page.human_attribute_name(:report_id) %></th>
</thead>
<tbody>
<% @pages.each do |page| %>
<tr>
<td><%= link_to(page.id, url_for(page)) %></td>
<td><%= link_to(page.position, url_for(page)) %></td>
<td><%= link_to(page.path, url_for(page)) %></td>
<td><%= link_to(page.url, url_for(page)) %></td>
<td><%= link_to(page.report_id, url_for(page)) %></td>
</tr>
<% end %>
</tbody>
</table>
<div class="action-row">
<%= link_to t("scaffold.link_new", model: Page.model_name.human), new_report_page_path(@report) %>
</div>