mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 05:43:10 +02:00
feat(core): add ability to hide title for hidden fields #240
This commit is contained in:
@@ -176,9 +176,13 @@ class Forms
|
||||
$form_label = '';
|
||||
}
|
||||
|
||||
$form .= '<div class="form-group ' . $property['size'] . '">';
|
||||
$form .= $form_label . $form_element;
|
||||
$form .= '</div>';
|
||||
if ($property['type'] == 'hidden') {
|
||||
$form .= $form_element;
|
||||
} else {
|
||||
$form .= '<div class="form-group ' . $property['size'] . '">';
|
||||
$form .= $form_label . $form_element;
|
||||
$form .= '</div>';
|
||||
}
|
||||
}
|
||||
$form .= '</div>';
|
||||
$form .= '</div>';
|
||||
|
Reference in New Issue
Block a user