diff --git a/app/views/admin/communication/website/menus/show.html.erb b/app/views/admin/communication/website/menus/show.html.erb index 98f7320ebaa5724b2ffde993a88961d587b37633..0c4e6556749a6dd516dd732a6159193e83c90c4d 100644 --- a/app/views/admin/communication/website/menus/show.html.erb +++ b/app/views/admin/communication/website/menus/show.html.erb @@ -29,7 +29,10 @@ </div> <% end %> -<% content_for :action_bar_right do %> +<% content_for :action_bar_left do %> <%= edit_link @menu %> +<% end %> + +<% content_for :action_bar_right do %> <%= destroy_link @menu %> <% end %> diff --git a/app/views/admin/communication/website/pages/show.html.erb b/app/views/admin/communication/website/pages/show.html.erb index 1372fc4798f33a63b3d444922e638df61d74cfd9..36b7e13ffbf8d1597aee42ba98b29467b1aacdf4 100644 --- a/app/views/admin/communication/website/pages/show.html.erb +++ b/app/views/admin/communication/website/pages/show.html.erb @@ -88,6 +88,7 @@ <% end %> <% content_for :action_bar_left do %> + <%= destroy_link @page %> <%= link_to t('static'), static_admin_communication_website_page_path(@page), class: button_classes('btn-light') if current_user.server_admin? %> @@ -96,5 +97,4 @@ <% content_for :action_bar_right do %> <%= preview_link %> <%= edit_link @page %> - <%= destroy_link @page %> <% end %> diff --git a/app/views/admin/communication/website/posts/show.html.erb b/app/views/admin/communication/website/posts/show.html.erb index 2929f1d220b8535764310e85947b98a1df40d2f6..079d3548b840e3dae8348ed2a04fecfd51c47bf1 100644 --- a/app/views/admin/communication/website/posts/show.html.erb +++ b/app/views/admin/communication/website/posts/show.html.erb @@ -71,8 +71,11 @@ <%= @post.text.to_s %> <% end %> +<% content_for :action_bar_left do %> + <%= destroy_link @post %> +<% end %> + <% content_for :action_bar_right do %> <%= preview_link %> <%= edit_link @post %> - <%= destroy_link @post %> <% end %>