We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85a1276 + 4809ea0 commit 902adf8Copy full SHA for 902adf8
1 file changed
app/views/alchemy/admin/users/index.html.erb
@@ -1,19 +1,17 @@
1
-<%= toolbar(
2
- buttons: [
3
- {
4
- icon: :plus,
5
- label: Alchemy.t(:create_user),
6
- url: alchemy.new_admin_user_path,
+<%= content_for :toolbar do %>
+ <%= toolbar_button(
+ icon: :plus,
+ label: Alchemy.t(:create_user),
+ url: alchemy.new_admin_user_path,
+ title: Alchemy.t(:create_user),
7
+ hotkey: 'alt+n',
8
+ dialog_options: {
9
title: Alchemy.t(:create_user),
- hotkey: 'alt+n',
- dialog_options: {
10
- title: Alchemy.t(:create_user),
11
- size: "430x560"
12
- },
13
- if_permitted_to: [:create, Alchemy::User]
14
- }
15
- ]
16
-) %>
+ size: "430x560"
+ },
+ if_permitted_to: [:create, Alchemy::User]
+ ) %>
+<% end %>
17
18
<div id="archive_all" class="resources-table-wrapper">
19
<%= resources_header %>
0 commit comments