prevent enumeration appearing multiple times

pull/7984/head
ulferts 5 years ago
parent f933c80749
commit a802f849aa
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 6
      app/views/enumerations/index.html.erb

@ -26,9 +26,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See docs/COPYRIGHT.rdoc for more details. See docs/COPYRIGHT.rdoc for more details.
++#%> ++#%>
<% html_title l(:label_administration), l(:label_enumerations) %> <% html_title t(:label_administration), t(:label_enumerations) %>
<%= toolbar title: l(:label_enumerations) %> <%= toolbar title: t(:label_enumerations) %>
<% Enumeration.descendants.each do |klass| %> <% Enumeration.subclasses.each do |klass| %>
<h3 class="-no-border"><%= l(klass::OptionName) %></h3> <h3 class="-no-border"><%= l(klass::OptionName) %></h3>
<%= cell ::Enumerations::TableCell, klass.shared %> <%= cell ::Enumerations::TableCell, klass.shared %>
<% end %> <% end %>

Loading…
Cancel
Save