Datetime fields example
With date only option
This is used to render the component to display only the date input fields.
How it looks (preview)
How to call this example
<%= render "components/datetime_fields", {
prefix: "edition",
field_name: "first_published_at",
date_heading: "An optional heading for the date fields",
date_only: true
} %>