| @@ -1,10 +1,20 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Max characters / rows setting in field settings. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var array $field Field data including 'id', 'type', 'max'. | |
| 8 | + * @var bool $can_fit_label_in_two_columns Whether the label is short enough for a two-column layout. | |
| 9 | + */ | |
| 10 | + | |
| 2 | 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 12 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 13 | } |
| 5 | 14 | |
| 6 | 15 | $max_setting_container_atts = array(); |
| 16 | + | |
| 7 | 17 | if ( ! empty( $can_fit_label_in_two_columns ) ) { |
| 8 | 18 | $max_setting_container_atts['class'] = 'frm6 frm_form_field'; |
| 9 | 19 | } |
| 10 | 20 | ?> |