Sha256: cd7ec1f38a9f15c7d386fe03448bcd0ec05d0119f41d78aa80a82e15c27a102c
Contents?: true
Size: 512 Bytes
Versions: 8
Compression:
Stored size: 512 Bytes
Contents
<%# # BooleanEmoji Form Partial This partial renders an input element for a boolean attribute. By default, the input is a checkbox. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of Administrate::Field::BooleanEmoji. A wrapper around the attribute pulled from the database. %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.check_box field.attribute %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems