app/views/shared/show.html.erb in adminpanel-1.2.11 vs app/views/shared/show.html.erb in adminpanel-1.2.12
- old
+ new
@@ -15,10 +15,10 @@
<%= link_to content_tag(:i, nil, :class => 'icon-pencil'), [:edit, resource], :title => t("action.update") + " #{@model.display_name}" %>
</h5>
</div>
<div class="widget-body">
<div class="widget-tickets widget-tickets-large clearfix"><ul>
- <% @model.display_attributes.each do |fields| %>
+ <% @model.display_attributes('show').each do |fields| %>
<% fields.each do |attribute, properties| %>
<% if properties["type"] != "adminpanel_file_field" %>
<li class="priority-high">
<div class="span3">
<h6><%= properties["label"] %></h6>