Gui improvements, ordering
Some checks failed
/ Run tests (push) Failing after 1m9s
/ Run system tests (push) Failing after 1m13s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-11-01 03:26:46 +01:00
parent 6db0b64f4c
commit 42c077f6ab
28 changed files with 105 additions and 40 deletions

View file

@ -1,11 +1,14 @@
<div id="<%= dom_id page %>">
<div id="<%= dom_id page %>" class="mb-3">
<h2>
<i class="bi bi-file"></i>
<%= page.position %> <%= page.path %><small><%= page.url %></small></h2>
<div id="element_list">
<% page.elements.each do |element| %>
<%= render element %>
<% end %>
</div>
<div class="pt-3">
<div>
<%= turbo_frame_tag "new_element_frame" do %>
<%= render partial: "pages/new_element_button", locals: { page: page } %>
<% end %>