diff --git a/app/views/alchemy/admin/dashboard/index.html.erb b/app/views/alchemy/admin/dashboard/index.html.erb
index b2a4be1d94..7fdca1e35b 100644
--- a/app/views/alchemy/admin/dashboard/index.html.erb
+++ b/app/views/alchemy/admin/dashboard/index.html.erb
@@ -1,20 +1,17 @@
-<%= toolbar(
- buttons: [
- {
- icon: 'info-circle',
- label: Alchemy.t(:info),
- url: alchemy.dashboard_info_path,
+<%= content_for :toolbar do %>
+ <%= toolbar_button(
+ icon: 'info-circle',
+ label: Alchemy.t(:info),
+ url: alchemy.dashboard_info_path,
+ title: Alchemy.t(:info),
+ dialog_options: {
title: Alchemy.t(:info),
- dialog_options: {
- title: Alchemy.t(:info),
- size: "420x435"
- },
- if_permitted_to: [:info, :alchemy_admin_dashboard],
- hotkey: 'alt+i'
- }
- ],
- search: false
-) %>
+ size: "420x435"
+ },
+ if_permitted_to: [:info, :alchemy_admin_dashboard],
+ hotkey: 'alt+i'
+ ) %>
+<% end %>
diff --git a/app/views/alchemy/admin/tags/index.html.erb b/app/views/alchemy/admin/tags/index.html.erb
index 44dc1d8d7b..b7542c5d2e 100644
--- a/app/views/alchemy/admin/tags/index.html.erb
+++ b/app/views/alchemy/admin/tags/index.html.erb
@@ -1,19 +1,18 @@
-<%= toolbar(
- buttons: [
- {
- icon: :plus,
- label: Alchemy.t('New Tag'),
- url: alchemy.new_admin_tag_path,
+<% content_for :toolbar do %>
+ <%= toolbar_button(
+ icon: :plus,
+ label: Alchemy.t('New Tag'),
+ url: alchemy.new_admin_tag_path,
+ title: Alchemy.t('New Tag'),
+ hotkey: 'alt+n',
+ dialog_options: {
title: Alchemy.t('New Tag'),
- hotkey: 'alt+n',
- dialog_options: {
- title: Alchemy.t('New Tag'),
- size: '310x180'
- },
- if_permitted_to: [:create, Alchemy::Tag]
- }
- ]
-) %>
+ size: '310x180'
+ },
+ if_permitted_to: [:create, Alchemy::Tag]
+ ) %>
+ <%= render 'alchemy/admin/partials/search_form' %>
+<% end %>
<%= render 'alchemy/admin/resources/table_header' %>
diff --git a/app/views/alchemy/base/500.html.erb b/app/views/alchemy/base/500.html.erb
index 86a91c7d78..74bdcc89c4 100644
--- a/app/views/alchemy/base/500.html.erb
+++ b/app/views/alchemy/base/500.html.erb
@@ -1,16 +1,14 @@
-<%= toolbar(
- buttons: [
- {
- icon: 'angle-double-left',
- url: request.referer || alchemy.admin_dashboard_path,
- label: Alchemy.t(:back),
- title: Alchemy.t(:back),
- hotkey: 'alt+z',
- dialog: false,
- skip_permission_check: true
- }
- ], search: false
-) %>
+<%= content_for :toolbar do %>
+ <%= toolbar_button(
+ icon: 'angle-double-left',
+ url: request.referer || alchemy.admin_dashboard_path,
+ label: Alchemy.t(:back),
+ title: Alchemy.t(:back),
+ hotkey: 'alt+z',
+ dialog: false,
+ skip_permission_check: true
+ ) %>
+<% end %>
<% content_for(:alchemy_body_class) { 'error' } %>