<div class="form-field form-required term-name-wrap">
<label for="tag-name"><?php
_ex( 'Name', 'term name'
); ?></label>
<input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" aria-describedby="name-description" />
<p id="name-description"><?php
echo $tax->labels->name_field_description; ?></p>
</div>
<div class="form-field term-slug-wrap">
<label for="tag-slug"><?php
_e( 'Slug'
); ?></label>
<input name="slug" id="tag-slug" type="text" value="" size="40" aria-describedby="slug-description" />
<p id="slug-description"><?php
echo $tax->labels->slug_field_description; ?></p>
</div>
<?php
if ( is_taxonomy_hierarchical( $taxonomy ) ) : ?>
<div class="form-field term-parent-wrap">
<label for="parent"><?php
echo esc_html( $tax->labels->parent_item
); ?></label>
<?php
$dropdown_args = array
( 'hide_empty' => 0,
'hide_if_empty' => false,
'taxonomy' =>
$taxonomy,
'name' => 'parent',
'orderby' => 'name',
'hierarchical' => true,
'show_option_none' =>
__( 'None'
),
);