'col-md-6 control-label' ) ); // WPCS: xss ok. ?>
'form-control',
'tiwl-show' => sprintf( '.tinvwl-page-%s-new', $key ),
'tiwl-value' => - 100,
);
if ( $page_field['error'] ) {
$select_extra['required'] = 'required';
}
echo TInvWL_Form::_select( sprintf( 'page_%s', $key ), $page_field['value'], $select_extra, $page_field['options'] ); // WPCS: xss ok.
echo TInvWL_Form::_text( array( // WPCS: xss ok.
'name' => sprintf( 'page_%s_auto', $key ),
'type' => 'hidden',
), $page_field['error'] ? 0 : 1 );
?>