| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | </label> |
| 18 | 18 | </p> |
| 19 | 19 | |
| 20 | 20 | <p class="frm4 frm_first frm_form_field"> |
| 21 | - <label for="frm_form_align"><?php esc_html_e( 'Alignment', 'formidable' ); ?></label> | |
| 21 | + <label><?php esc_html_e( 'Alignment', 'formidable' ); ?></label> | |
| 22 | 22 | <select name="<?php echo esc_attr( $frm_style->get_field_name( 'form_align' ) ); ?>" id="frm_form_align"> |
| 23 | 23 | <option value="left" <?php selected( $style->post_content['form_align'], 'left' ); ?>> |
| 24 | 24 | <?php esc_html_e( 'left', 'formidable' ); ?> |
| 25 | 25 | </option> |
| @@ -32,14 +32,14 @@ | ||
| 32 | 32 | </select> |
| 33 | 33 | </p> |
| 34 | 34 | |
| 35 | 35 | <p class="frm4 frm_form_field"> |
| 36 | - <label for="frm_form_width"><?php esc_html_e( 'Max Width', 'formidable' ); ?></label> | |
| 37 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_width' ) ); ?>" id="frm_form_width" value="<?php echo esc_attr( $style->post_content['form_width'] ); ?>" /> | |
| 36 | + <label><?php esc_html_e( 'Max Width', 'formidable' ); ?></label> | |
| 37 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_width' ) ); ?>" value="<?php echo esc_attr( $style->post_content['form_width'] ); ?>"/> | |
| 38 | 38 | </p> |
| 39 | 39 | |
| 40 | 40 | <p class="frm4 frm_form_field frm_end"> |
| 41 | - <label for="frm_fieldset_bg_color"><?php esc_html_e( 'Background', 'formidable' ); ?></label> | |
| 41 | + <label><?php esc_html_e( 'Background', 'formidable' ); ?></label> | |
| 42 | 42 | <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_bg_color' ) ); ?>" id="frm_fieldset_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_bg_color'] ); ?>" size="4" <?php do_action( 'frm_style_settings_input_atts', 'fieldset_bg_color' ); ?> /> |
| 43 | 43 | </p> |
| 44 | 44 | |
| 45 | 45 | <?php |
| @@ -56,29 +56,29 @@ | ||
| 56 | 56 | } |
| 57 | 57 | ?> |
| 58 | 58 | |
| 59 | 59 | <p class="frm4 frm_first frm_form_field"> |
| 60 | - <label for="frm_fieldset"><?php esc_html_e( 'Border', 'formidable' ); ?></label> | |
| 60 | + <label><?php esc_html_e( 'Border', 'formidable' ); ?></label> | |
| 61 | 61 | <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset' ) ); ?>" id="frm_fieldset" value="<?php echo esc_attr( $style->post_content['fieldset'] ); ?>" size="4" /> |
| 62 | 62 | </p> |
| 63 | 63 | |
| 64 | 64 | <p class="frm4 frm_form_field"> |
| 65 | - <label for="frm_fieldset_color"><?php esc_html_e( 'Color', 'formidable' ); ?></label> | |
| 65 | + <label><?php esc_html_e( 'Color', 'formidable' ); ?></label> | |
| 66 | 66 | <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_color' ) ); ?>" id="frm_fieldset_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'fieldset_color' ); ?> /> |
| 67 | 67 | </p> |
| 68 | 68 | |
| 69 | 69 | <p class="frm4 frm_form_field"> |
| 70 | - <label for="frm_fieldset_padding"><?php esc_html_e( 'Padding', 'formidable' ); ?></label> | |
| 70 | + <label><?php esc_html_e( 'Padding', 'formidable' ); ?></label> | |
| 71 | 71 | <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_padding' ) ); ?>" id="frm_fieldset_padding" value="<?php echo esc_attr( $style->post_content['fieldset_padding'] ); ?>" size="4" /> |
| 72 | 72 | </p> |
| 73 | 73 | |
| 74 | 74 | <p> |
| 75 | - <label for="frm_font"><?php esc_html_e( 'Font Family', 'formidable' ); ?></label> | |
| 75 | + <label><?php esc_html_e( 'Font Family', 'formidable' ); ?></label> | |
| 76 | 76 | <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'font' ) ); ?>" id="frm_font" value="<?php echo esc_attr( $style->post_content['font'] ); ?>" placeholder="<?php esc_attr_e( 'Leave blank to inherit from theme', 'formidable' ); ?>" class="frm_full_width" /> |
| 77 | 77 | </p> |
| 78 | 78 | |
| 79 | 79 | <p class="frm6 frm_first frm_form_field"> |
| 80 | - <label for="frm_direction"><?php esc_html_e( 'Direction', 'formidable' ); ?></label> | |
| 80 | + <label><?php esc_html_e( 'Direction', 'formidable' ); ?></label> | |
| 81 | 81 | <select name="<?php echo esc_attr( $frm_style->get_field_name( 'direction' ) ); ?>" id="frm_direction"> |
| 82 | 82 | <option value="ltr" <?php selected( $style->post_content['direction'], 'ltr' ); ?>> |
| 83 | 83 | <?php esc_html_e( 'Left to Right', 'formidable' ); ?> |
| 84 | 84 | </option> |
| @@ -85,10 +85,5 @@ | ||
| 85 | 85 | <option value="rtl" <?php selected( $style->post_content['direction'], 'rtl' ); ?>> |
| 86 | 86 | <?php esc_html_e( 'Right to Left', 'formidable' ); ?> |
| 87 | 87 | </option> |
| 88 | 88 | </select> |
| 89 | -</p> | |
| 90 | - | |
| 91 | -<p> | |
| 92 | - <label><?php esc_html_e( 'Style Class', 'formidable' ); ?></label> | |
| 93 | - <span>.frm_style_<?php echo esc_html( $style->post_name ); ?></span> | |
| 94 | 89 | </p> |