Skip to content
Snippets Groups Projects
Commit ccef92f4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

grip

parent 38aee2e8
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,13 @@
<div class="d-flex align-items-center treeview__label border-bottom p-1">
<% if page.has_children? %>
<%= link_to children_admin_communication_website_page_path(website_id: page.website.id, id: page.id),
class: 'js-treeview-element d-inline-block p-1 ps-0', style: 'width: 22px', remote: true do %>
class: 'js-treeview-element d-inline-block p-2 ps-0', style: 'width: 22px', remote: true do %>
<span class="open_btn"><i class="fas fa-folder"></i></span>
<span class="close_btn"><i class="fas fa-folder-open"></i></span>
<% end %>
<% end %>
<%= page %>
<%= link_to 'Voir', admin_communication_website_page_path(website_id: page.website.id, id: page.id), class: button_classes('btn-sm ms-3') %>
<%= link_to page, admin_communication_website_page_path(website_id: page.website.id, id: page.id) %>
<span class="move_btn ps-2"><i class="fas fa-grip-vertical"></i></span>
</div>
<% if page.has_children? %>
<ul class="list-unstyled treeview__children js-treeview-children js-treeview-sortable ms-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment