Pages

<% for page in @pages %> <% end %>
Node Title
<%=h page.node_id %> <%=h page.title %> <%= link_to 'Show', content_path(:page_path => page.node.unique_path) %> <%= link_to 'Edit', edit_page_path(page) %> <%= button_to page, method: :delete, form: { data: { confirm: 'Are you sure?' }, class: 'button_to destructive' } do %> <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy <% end %>

<%= link_to 'New page', new_page_path %>