##// END OF EJS Templates
Move 'New enumeration' links to above the item tables (#24776)....
Jean-Philippe Lang -
r15804:7f3ce996c2c1
parent child
Show More
@@ -4,6 +4,9
4 <h3><%= l(klass::OptionName) %></h3>
4 <h3><%= l(klass::OptionName) %></h3>
5
5
6 <% enumerations = klass.shared %>
6 <% enumerations = klass.shared %>
7
8 <p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
9
7 <% if enumerations.any? %>
10 <% if enumerations.any? %>
8 <table class="list enumerations"><thead>
11 <table class="list enumerations"><thead>
9 <tr>
12 <tr>
@@ -26,8 +29,6
26 </table>
29 </table>
27 <% reset_cycle %>
30 <% reset_cycle %>
28 <% end %>
31 <% end %>
29
30 <p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
31 <% end %>
32 <% end %>
32
33
33 <% html_title(l(:label_enumerations)) -%>
34 <% html_title(l(:label_enumerations)) -%>
General Comments 0
You need to be logged in to leave comments. Login now