| 1 |
<p> |
| 2 |
<label><input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name('center_form') ) ?>" id="frm_center_form" value="1" <?php checked($style->post_content['center_form'], 1) ?> /> |
| 3 |
<?php esc_html_e( 'Center form on page', 'formidable' ) ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'This will center your form on the page where it is published if the form width is less than the available width on the page.', 'formidable' ) ?>" ></span> |
| 4 |
</label> |
| 5 |
</p> |
| 6 |
|
| 7 |
<div class="field-group clearfix frm-first-row"> |
| 8 |
<label><?php esc_html_e( 'Alignment', 'formidable' ) ?></label> |
| 9 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'form_align' ) ) ?>" id="frm_form_align"> |
| 10 |
<option value="left" <?php selected( $style->post_content['form_align'], 'left' ); ?>> |
| 11 |
<?php esc_html_e( 'left', 'formidable' ); ?> |
| 12 |
</option> |
| 13 |
<option value="right" <?php selected( $style->post_content['form_align'], 'right' ); ?>> |
| 14 |
<?php esc_html_e( 'right', 'formidable' ); ?> |
| 15 |
</option> |
| 16 |
<option value="center" <?php selected( $style->post_content['form_align'], 'center' ); ?>> |
| 17 |
<?php esc_html_e( 'center', 'formidable' ); ?> |
| 18 |
</option> |
| 19 |
</select> |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="field-group clearfix frm-first-row"> |
| 23 |
<label><?php esc_html_e( 'Max Width', 'formidable' ) ?></label> |
| 24 |
<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'] ) ?>"/> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div class="field-group clearfix frm-first-row"> |
| 28 |
<label><?php esc_html_e( 'Background', 'formidable' ) ?></label> |
| 29 |
<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" /> |
| 30 |
</div> |
| 31 |
|
| 32 |
<div class="field-group field-group-border clearfix"> |
| 33 |
<label><?php esc_html_e( 'Border', 'formidable' ) ?></label> |
| 34 |
<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" /> |
| 35 |
</div> |
| 36 |
|
| 37 |
<div class="field-group clearfix"> |
| 38 |
<label><?php esc_html_e( 'Color', 'formidable' ) ?></label> |
| 39 |
<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'] ) ?>" /> |
| 40 |
</div> |
| 41 |
|
| 42 |
<div class="field-group clearfix"> |
| 43 |
<label><?php esc_html_e( 'Padding', 'formidable' ) ?></label> |
| 44 |
<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" /> |
| 45 |
</div> |
| 46 |
|
| 47 |
<div id="frm_gen_font_box" class="field-group clearfix"> |
| 48 |
<label><?php esc_html_e( 'Font Family', 'formidable' ) ?></label> |
| 49 |
<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'] ) ?>" class="frm_full_width" /> |
| 50 |
</div> |
| 51 |
|
| 52 |
<div class="field-group clearfix frm-half"> |
| 53 |
<label><?php esc_html_e( 'Direction', 'formidable' ) ?></label> |
| 54 |
<select name="<?php echo esc_attr( $frm_style->get_field_name('direction') ) ?>" id="frm_direction"> |
| 55 |
<option value="ltr" <?php selected( $style->post_content['direction'], 'ltr' ); ?>> |
| 56 |
<?php esc_html_e( 'Left to Right', 'formidable' ) ?> |
| 57 |
</option> |
| 58 |
<option value="rtl" <?php selected( $style->post_content['direction'], 'rtl' ); ?>> |
| 59 |
<?php esc_html_e( 'Right to Left', 'formidable' ) ?> |
| 60 |
</option> |
| 61 |
</select> |
| 62 |
</div> |
| 63 |
|
| 64 |
<div class="clear"></div> |
| 65 |
<p class="frm_no_bottom_margin"> |
| 66 |
<label><input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name('important_style') ) ?>" id="frm_important_style" value="1" <?php checked($style->post_content['important_style'], 1) ?> /> |
| 67 |
<?php esc_html_e( 'Override theme styling', 'formidable' ) ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'This will add !important to many of the lines in the Formidable styling to make sure it will be used.', 'formidable' ) ?>" ></span> |
| 68 |
</label> |
| 69 |
</p> |
| 70 |
|