Merge pull request #10447 from jonkoops/tax-form-field-classes
Add wrapper classes to product category form fields.
This commit is contained in:
commit
27a9b72d36
|
@ -88,7 +88,7 @@ class WC_Admin_Taxonomies {
|
||||||
*/
|
*/
|
||||||
public function add_category_fields() {
|
public function add_category_fields() {
|
||||||
?>
|
?>
|
||||||
<div class="form-field">
|
<div class="form-field term-display-type-wrap">
|
||||||
<label for="display_type"><?php _e( 'Display type', 'woocommerce' ); ?></label>
|
<label for="display_type"><?php _e( 'Display type', 'woocommerce' ); ?></label>
|
||||||
<select id="display_type" name="display_type" class="postform">
|
<select id="display_type" name="display_type" class="postform">
|
||||||
<option value=""><?php _e( 'Default', 'woocommerce' ); ?></option>
|
<option value=""><?php _e( 'Default', 'woocommerce' ); ?></option>
|
||||||
|
@ -97,7 +97,7 @@ class WC_Admin_Taxonomies {
|
||||||
<option value="both"><?php _e( 'Both', 'woocommerce' ); ?></option>
|
<option value="both"><?php _e( 'Both', 'woocommerce' ); ?></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-field">
|
<div class="form-field term-thumbnail-wrap">
|
||||||
<label><?php _e( 'Thumbnail', 'woocommerce' ); ?></label>
|
<label><?php _e( 'Thumbnail', 'woocommerce' ); ?></label>
|
||||||
<div id="product_cat_thumbnail" style="float: left; margin-right: 10px;"><img src="<?php echo esc_url( wc_placeholder_img_src() ); ?>" width="60px" height="60px" /></div>
|
<div id="product_cat_thumbnail" style="float: left; margin-right: 10px;"><img src="<?php echo esc_url( wc_placeholder_img_src() ); ?>" width="60px" height="60px" /></div>
|
||||||
<div style="line-height: 60px;">
|
<div style="line-height: 60px;">
|
||||||
|
|
Loading…
Reference in New Issue