| @@ -1,8 +1,17 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Group break template | |
| 4 | - */ | |
| 5 | -?> | |
| 6 | -<div class="jet-form-builder__field-wrap"> | |
| 7 | - <div class="jet-form-builder__group-break"></div> | |
| 8 | -</div> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Group break template | |
| 4 | + */ | |
| 5 | + | |
| 6 | +// If this file is called directly, abort. | |
| 7 | +if ( ! defined( 'WPINC' ) ) { | |
| 8 | + die; | |
| 9 | +} | |
| 10 | + | |
| 11 | +$this->add_attribute( 'class', 'jet-form-builder__group-break' ); | |
| 12 | +$this->add_attribute( 'class', $args['class_name'] ); | |
| 13 | +?> | |
| 14 | +<div class="jet-form-builder__field-wrap"> | |
| 15 | + <div <?php $this->render_attributes_string(); ?>></div> | |
| 16 | +</div> | |
| 17 | +<?php | |