app/views/cm_admin/main/show.html.slim in cm-admin-1.0.2 vs app/views/cm_admin/main/show.html.slim in cm-admin-1.0.3
- old
+ new
@@ -10,7 +10,7 @@
- @model.available_fields[:show].each do |section|
- if section.display_if.call(@ar_object)
.info-section
p.section-heading = section.section_name
.paper
- - section.available_section_fields.each do |field|
+ - section.section_fields.each do |field|
= show_field(@ar_object, field)