Make WordPress Core


Ignore:
Timestamp:
10/02/2014 12:28:45 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Add classes to form containers on taxonomy screens.

props jarednova.
fixes #28196.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tags.php

    r29782 r29803  
    448448<?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?>
    449449
    450 <div class="form-field form-required">
     450<div class="form-field form-required term-name-wrap">
    451451    <label for="tag-name"><?php _ex('Name', 'Taxonomy Name'); ?></label>
    452452    <input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" />
     
    454454</div>
    455455<?php if ( ! global_terms_enabled() ) : ?>
    456 <div class="form-field">
     456<div class="form-field term-slug-wrap">
    457457    <label for="tag-slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label>
    458458    <input name="slug" id="tag-slug" type="text" value="" size="40" />
     
    461461<?php endif; // global_terms_enabled() ?>
    462462<?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?>
    463 <div class="form-field">
     463<div class="form-field term-parent-wrap">
    464464    <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label>
    465465    <?php
     
    501501</div>
    502502<?php endif; // is_taxonomy_hierarchical() ?>
    503 <div class="form-field">
     503<div class="form-field term-description-wrap">
    504504    <label for="tag-description"><?php _ex('Description', 'Taxonomy Description'); ?></label>
    505505    <textarea name="description" id="tag-description" rows="5" cols="40"></textarea>
Note: See TracChangeset for help on using the changeset viewer.