Datetime fields example

With data attributes

How it looks (preview)

Date (required)

Time

:

How to call this example

<%= render "components/datetime_fields", {
  prefix: "edition",
  field_name: "first_published_at"
} %>