getOptions() as $form_name => $form_control): ?>
formNs() . '_' . $form_name;
$f_type = $form_control;
$f_value = '';
if (isset($form_control['label'])) {
$f_label = htmlentities($form_control['label']);
} else {
$f_label = ucwords(str_replace(['.','_'], ' ', $form_name));
}
$f_placeholder = '';
if (is_array($form_control)) {
$f_type = (!empty($form_control['type']))?$form_control['type']:'text';
$f_value = (!empty($form_control['value']))?$form_control['value']:'';
$f_placeholder = (!empty($form_control['placeholder']))?$form_control['placeholder']:'';
}
$f_value = htmlentities($f_value);
$f_label = htmlentities($f_label);
$f_name = htmlentities($f_name);
$f_placeholder = htmlentities($f_placeholder);
?>