app/views/records/edit_fields/_date_captured.html.erb
<% if f.object.multiple? key %>
<%= f.input :date_captured, as: :multi_value, html5: true, placeholder: "Date Format YYYY-MM-DD",
input_html: { class: 'date-input', value: f.object.date_captured || '' } %>
<% else %>
<%= f.input :date_captured, as: :date, html5: true, placeholder: "Date Format YYYY-MM-DD",
input_html: { class: 'date-input', value: f.object.date_captured || '' } %>
<% end %>