Sha256: 89b624faaad0921b572a9335b469bdda019ee15905707c59b4dc9da16e0562a9
Contents?: true
Size: 535 Bytes
Versions: 7
Compression:
Stored size: 535 Bytes
Contents
<%# # Date Form Partial This partial renders an input element for a date attribute. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Date][1]. A wrapper around the Date value pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Date %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.date_field field.attribute %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems