start of iteration 2
This commit is contained in:
parent
9fb87a74ce
commit
729ed13521
75 changed files with 705 additions and 170 deletions
13
app/views/pages/_page.html.erb
Normal file
13
app/views/pages/_page.html.erb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div id="<%= dom_id page %>">
|
||||
<div id="element_list">
|
||||
<% page.elements.each do |element| %>
|
||||
<%= render element %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="pt-3">
|
||||
<%= turbo_frame_tag "new_element_frame" do %>
|
||||
<%= render partial: "pages/new_element_button", locals: { page: page } %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue