Sha256: 25b53528127ea10139008b18bd1e2013f9b2d92aae64a011337a242066107e50
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 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, class: "timepicker" %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems