Datetime fields example
With a prepopulated time
How it looks (preview)
How to call this example
<%= render "components/datetime_fields", {
prefix: "edition",
field_name: "first_published_at",
hour: {
value: 10,
id: "myhour"
},
minute: {
value: 51,
id: "myminute"
}
} %>