| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) { |
| 2 |
die( 'You are not allowed to call this page directly.' ); |
| 3 |
} |
| 4 |
?> |
| 5 |
<span class="<?php echo esc_attr( $component_class ); ?> frm-direction-component frm-radio-component"> |
| 6 |
<div class="frm-radio-container frm-flex-box frm-flex-justify"> |
| 7 |
<input id="frm-direction-left-<?php echo esc_attr( $field_name ); ?>" <?php checked( $field_value, 'ltr' ); ?> type="radio" <?php echo esc_attr( $field_name ); ?> value="ltr" /> |
| 8 |
<label class="frm-flex-center" for="frm-direction-left-<?php echo esc_attr( $field_name ); ?>" tabindex="0"> |
| 9 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm-direction-right' ); ?> |
| 10 |
</label> |
| 11 |
|
| 12 |
<input id="frm-direction-right-<?php echo esc_attr( $field_name ); ?>" <?php checked( $field_value, 'rtl' ); ?> type="radio" <?php echo esc_attr( $field_name ); ?> value="rtl" /> |
| 13 |
<label class="frm-flex-center" for="frm-direction-right-<?php echo esc_attr( $field_name ); ?>" tabindex="0"> |
| 14 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm-direction-left' ); ?> |
| 15 |
</label> |
| 16 |
<span class="frm-radio-active-tracker"></span> |
| 17 |
</div> |
| 18 |
</span> |