app/views/admin/resources/show.html.erb in hyper_admin-0.3.0 vs app/views/admin/resources/show.html.erb in hyper_admin-0.4.0
- old
+ new
@@ -13,10 +13,10 @@
<div class="row">
<div class="col-xs-12">
<div class="well">
<dl class="dl-horizontal">
- <dt ng-repeat-start="attribute in showCtrl.resource_class.attributes">
+ <dt ng-repeat-start="attribute in showCtrl.resource_class.show_attributes">
{{ attribute.human }}
</dt>
<dd ng-repeat-end>
<ng-include src="showCtrl.template(attribute)"></ng-include>
</dd>