app/views/shared/show.html.erb in adminpanel-1.2.7 vs app/views/shared/show.html.erb in adminpanel-1.2.8
- old
+ new
@@ -20,10 +20,10 @@
<% @model.display_attributes.each do |fields| %>
<% fields.each do |attribute, properties| %>
<% if properties["type"] != "adminpanel_file_field" %>
<li class="priority-high">
<div class="span3">
- <h6><%= properties["name"] %></h6>
+ <h6><%= properties["label"] %></h6>
</div>
<div class="span8">
<% if properties["type"] == "wysiwyg_field" %>
<%= resource.send(attribute).html_safe -%>
<% elsif properties["type"] == "belongs_to" %>