app/views/shared/index.html.erb in adminpanel-1.2.10 vs app/views/shared/index.html.erb in adminpanel-1.2.11
- old
+ new
@@ -44,9 +44,11 @@
<td><%= member.send(attribute).html_safe -%></td>
<% elsif properties["type"] == "belongs_to" %>
<td>
<%= parent_object_name(member, properties["model"]) %>
</td>
+ <% elsif properties["type"] == "boolean" %>
+ <td><%= member.send(attribute) ? I18n.t('action.is_true') : I18n.t('action.is_false') %></td>
<% elsif properties["type"] != "adminpanel_file_field" && properties["type"] != "has_many" %>
<td><%= member.send(attribute) -%></td>
<% end %>
<% end %>
<% end %>