0002-Add-icon-and-icon-add-classes-to-new-enum-links.patch

Mischa The Evil, 2017-01-10 07:30

Download (893 Bytes)

View differences:

app/views/enumerations/index.html.erb
5 5

  
6 6
<% enumerations = klass.shared %>
7 7

  
8
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
8
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name), :class => 'icon icon-add' %></p>
9 9

  
10 10
<% if enumerations.any? %>
11 11
<table class="list enumerations"><thead>
12
-