Sha256: cca292d21272f445a444dd6f4d3c4615b7fcebd80eb9b86ccdab1fe94331c14a
Contents?: true
Size: 554 Bytes
Versions: 12
Compression:
Stored size: 554 Bytes
Contents
<%# # Time Form Partial This partial renders an input element for time attributes. By default, the input is a select field for the time attributes. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Time][1]. A wrapper around the tmie attributes pulled from the model. %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.text_field field.attribute, data: { type: 'time' } %> </div>
Version data entries
12 entries across 12 versions & 3 rubygems