| 1 |
<div class="field-group clearfix frm-first-row"> |
| 2 |
<label><?php esc_html_e( 'Size', 'formidable' ) ?></label> |
| 3 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_font_size' ) ); ?>" id="frm_field_font_size" value="<?php echo esc_attr( $style->post_content['field_font_size'] ); ?>" /> |
| 4 |
</div> |
| 5 |
|
| 6 |
<div class="field-group clearfix frm-first-row"> |
| 7 |
<label><?php esc_html_e( 'Height', 'formidable' ) ?></label> |
| 8 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_height' ) ); ?>" id="frm_field_height" value="<?php echo esc_attr( $style->post_content['field_height'] ); ?>" /> |
| 9 |
</div> |
| 10 |
|
| 11 |
<div class="field-group clearfix frm-first-row"> |
| 12 |
<label><?php esc_html_e( 'Width', 'formidable' ) ?></label> |
| 13 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_width' ) ); ?>" id="frm_field_width" value="<?php echo esc_attr( $style->post_content['field_width'] ); ?>" /> |
| 14 |
</div> |
| 15 |
|
| 16 |
<div class="clear"></div> |
| 17 |
<p class="frm_no_bottom_margin"> |
| 18 |
<label><input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'auto_width' ) ); ?>" id="frm_auto_width" value="1" <?php checked( $style->post_content['auto_width'], 1 ); ?> /> |
| 19 |
<?php esc_html_e( 'Automatic Width for drop-down fields', 'formidable' ) ?></label> |
| 20 |
</p> |
| 21 |
|
| 22 |
<div class="field-group clearfix"> |
| 23 |
<label><?php esc_html_e( 'Padding', 'formidable' ) ?></label> |
| 24 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_pad' ) ); ?>" id="frm_field_pad" value="<?php echo esc_attr( $style->post_content['field_pad'] ); ?>" /> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div class="field-group clearfix"> |
| 28 |
<label><?php esc_html_e( 'Margin', 'formidable' ) ?></label> |
| 29 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'field_margin' ) ); ?>" id="frm_field_margin" value="<?php echo esc_attr( $style->post_content['field_margin'] ); ?>" /> |
| 30 |
</div> |
| 31 |
|
| 32 |
<div class="field-group clearfix"> |
| 33 |
<label><?php esc_html_e( 'Corners', 'formidable' ) ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer.', 'formidable' ) ?>" ></span></label> |
| 34 |
<input type="text" value="<?php echo esc_attr( $style->post_content['border_radius'] ); ?>" name="<?php echo esc_attr( $frm_style->get_field_name( 'border_radius' ) ); ?>" id="frm_border_radius" /> |
| 35 |
</div> |
| 36 |
|
| 37 |
<div class="field-group clearfix frm-first-row"> |
| 38 |
<label><?php esc_html_e( 'Weight', 'formidable' ) ?></label> |
| 39 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'field_weight' ) ); ?>" id="frm_field_weight"> |
| 40 |
<?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?> |
| 41 |
<option value="<?php echo esc_attr( $value ) ?>" <?php selected( $style->post_content['field_weight'], $value ) ?>><?php echo esc_attr( $name ) ?></option> |
| 42 |
<?php } ?> |
| 43 |
</select> |
| 44 |
</div> |
| 45 |
|