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

destroy button on the left

parent 1079e96d
No related branches found
No related tags found
No related merge requests found
......@@ -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 %>
......@@ -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 %>
......@@ -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 %>
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