Patch #24776 » 0002-Add-icon-and-icon-add-classes-to-new-enum-links.patch
| app/views/enumerations/index.html.erb | ||
|---|---|---|
|
<% enumerations = klass.shared %>
|
||
|
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
|
||
|
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %></p>
|
||
|
<% if enumerations.any? %>
|
||
|
<table class="list enumerations"><thead>
|
||