Sha256: 025ef343bec25b579e15f5064d89f2e0a3e379fbf48ed055c185f565e0279e71

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

<%#
# BooleanEmoji Show 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.
%>

<%= field.lboolean %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrate-field-boolean_emoji-0.3.0 app/views/fields/boolean_emoji/_show.html.erb
administrate-field-boolean_emoji-0.2.1 app/views/fields/boolean_emoji/_show.html.erb
administrate-field-boolean_emoji-0.2.0 app/views/fields/boolean_emoji/_show.html.erb
administrate-field-boolean_emoji-0.1.0 app/views/fields/boolean_emoji/_show.html.erb