From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

[%########################################
label_form_date_row( label, count, name, value, field_label )
Display a row to input a date: label on left, date input on right.
########################################-%]
[%- DEFAULT colspan = 2; -%]
[%- INCLUDE label_row_begin( colspan = 1 ) -%]
[%- INCLUDE data_cell_begin -%]
[%- object = ( date_object ) ? date_object : OI.date_into_object( value ) -%]
[%- PROCESS date_select( field_prefix = name ) -%]
[% field_label -%]
</td></tr>