app/views/bhf/entries/show.html.haml in bhf-0.10.13 vs app/views/bhf/entries/show.html.haml in bhf-0.10.14
- old
+ new
@@ -3,10 +3,12 @@
.dl.content_box
- @platform.definitions.each do |column|
- column_value = @object.send(column.name)
- if ! column_value.blank?
= definition_item @object, column do
- = render(partial: "bhf/table/#{column.macro}/#{column.show_type}", locals: {column_value: column_value, object: @object, link: false, add_quick_link: false})
+ = render(partial: "bhf/table/#{column.macro}/#{column.show_type}",
+ locals: {column_value: column_value,
+ object: @object, link: false, add_quick_link: false})
- if @platform.show_extra_fields and @platform.show_extra_fields.any?
.content_box
- @platform.show_extra_fields.each do |name|
= render(partial: "bhf/table/column/#{name}", locals: {name: name, object: @object, link: false, add_quick_link: false})