Sha256: 9820b24efa8f40d7eadd3e97b3c73e00c166df052ff9c09447068e00b54555f4
Contents?: true
Size: 477 Bytes
Versions: 7
Compression:
Stored size: 477 Bytes
Contents
<%# # DatePicker Form Partial This partial renders an input element that will trigger a date picker when focused. It falls back to a HTML5 `date` input field ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of DateTime. %> <div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field"> <%= f.date_field field.attribute, class: 'date_picker' %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems