We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29fd79 commit 78e9e2bCopy full SHA for 78e9e2b
app/views/alchemy/admin/elements/_header.html.erb
@@ -5,7 +5,13 @@
5
<% elsif element.deprecated? %>
6
<%= hint_with_tooltip element.deprecation_notice %>
7
<% else %>
8
- <%= render_icon('draggable', style: false, class: 'element', fixed_width: false) %>
+ <% if element.definition.icon %>
9
+ <span class="icon element">
10
+ <%= element.definition.icon_file %>
11
+ </span>
12
+ <% else %>
13
+ <%= render_icon('draggable', style: false, class: 'element', fixed_width: false) %>
14
+ <% end %>
15
<% end %>
16
</span>
17
<span class="element-title">
0 commit comments