<p><label for="job_type"><?php _e('Job type', APP_TD); ?> <span title="required" style="color:red; font-weight:bold;">*</span></label>
<select name="job_term_type" id="job_type" class="required">
<?php
$job_types = get_terms( 'job_type', array( 'hide_empty' => false ) );
if ($job_types && sizeof($job_types) > 0) {
foreach ($job_types as $type) {
?>
<option <?php if ( $job->type==$type->term_id ) echo 'selected="selected"'; ?> value="<?php echo $type->term_id; ?>"><?php echo $type->name; ?></option>
<?php
}
}
?>
</select></p>
There are currently 1 users browsing this thread. (0 members and 1 guests)