app/views/shared/show.html.erb in adminpanel-1.2.10 vs app/views/shared/show.html.erb in adminpanel-1.2.11
- old
+ new
@@ -38,9 +38,11 @@
</ul>
<% elsif properties['type'] == 'file_field' %>
<ul>
<%= image_tag(resource.send("#{attribute}_url", :thumb)) %>
</ul>
+ <% elsif properties["type"] == "boolean" %>
+ <td><%= resource.send(attribute) ? I18n.t('action.is_true') : I18n.t('action.is_false') %></td>
<% else %>
<%= resource.send(attribute) -%>
<% end %>
</div>
</li>