With values
How it looks (preview)
How to call this example
<%= render "components/date_filter", {
name: "Opened",
key: "another-form-key",
from_value: "01/01/1900",
to_value: "01/01/2000"
} %>
<%= render "components/date_filter", {
name: "Opened",
key: "another-form-key",
from_value: "01/01/1900",
to_value: "01/01/2000"
} %>