app/views/shared/index.html.erb in adminpanel-1.2.7 vs app/views/shared/index.html.erb in adminpanel-1.2.8

- old
+ new

@@ -26,10 +26,10 @@ <thead><!-- model attributes --> <tr> <% @model.display_attributes.each do |fields| %> <% fields.each do |attribute, properties| %> <% if properties["type"] != "adminpanel_file_field" && properties["type"] != "has_many" %> - <th><%= properties["name"] %></th> + <th><%= properties["label"] %></th> <% end %> <% end %> <% end %> <th><%= I18n.t("actions") %></th> </tr>