Sha256: 92cc000fee66e1cd5e15821ff2e88113bb6fb4e3de3261f4ef640fbf11659e9d
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 Bytes
Contents
<%# # BooleanEmoji Index Partial This partial renders an emoji based on the value of the attribute. ## Local variables: - `field`: An instance of Administrate::Field::BooleanEmoji. A wrapper around the attribute pulled from the database. %> <% unless field.data.nil? %> <%= field.data ? field.positive_emoji : field.negative_emoji %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems