Sha256: b6ea2712dc8fec446c4cddd948632aaddfc3cb91663a101d5f2cbb0363d2ea20
Contents?: true
Size: 577 Bytes
Versions: 30
Compression:
Stored size: 577 Bytes
Contents
<%# # Number Form Partial This partial renders an input element for number attributes. By default, the input is a text field. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Number][1]. A wrapper around the number pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Number %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.text_field field.attribute %> </div>
Version data entries
30 entries across 30 versions & 3 rubygems